Documentation
Everything you need.
From installation to advanced architecture — all the docs for building with Svelte Atoms.
Jump to
Core concepts
Three composable primitives that give you complete control over behaviour, state, and style
Atoms
HtmlAtom wraps any HTML element with preset classes, variants, and bond state — zero hardcoded styles, infinite flexibility.
Bond System
Shared reactive state flows through component trees via Svelte context — no prop drilling, no store boilerplate.
Preset System
One setPreset() call defines your entire design system. Override globally or per-instance without specificity battles.
TypeScript
Full type inference for variants, slots, and bond state. Catch mistakes at author time, not at runtime.
WAI-ARIA
Keyboard navigation, focus management, and ARIA roles are built into every component by default — not bolted on.
Svelte 5 Runes
Purpose-built for $state, $derived, and $effect. Embraces Svelte 5's reactive model rather than working around it.
Getting started
Up and running in three steps
Install the package
Import styles in your layout
Import and use components
Full setup guide — Tailwind config, preset customization, and more →
Next steps
Ready to go deeper?
Learn the architecture, master the styling system, and understand what makes Svelte Atoms different from other component libraries.