Skip to content

StatelyPinia-inspired state for Svelte 5 and SvelteKit

Direct-mutation stores with SSR-safe managers and opt-in persistence, history, sync, and async orchestration.

Stately logo

What you get

Stately is a Svelte 5 state library for teams that want a small core runtime with explicit plugin-based features. It is designed for package consumers who want predictable store behavior in both SPA and SSR flows.

Start here

  • Read the guide for installation, store definitions, SSR patterns, plugins, and release workflows.
  • Jump to the API reference for the exported runtime surface.
  • Browse the packaged examples under src/lib/examples/ for consumer-facing patterns that match the public API.

Released under the MIT License.