The $state rune creates reactive state in Svelte; arrays and objects become deeply reactive proxies, with variants for raw non-reactive state, snapshots, and eager updates.