Svelte and SvelteKit
The docs, libraries and people I learn Svelte 5 and SvelteKit from, the stack this site is built with.
22 of 22 links
Official
Svelte docs
The reference for components, runes, template syntax and styles.
SvelteKit docs
Routing, load functions, form actions, adapters and prerendering.
Svelte tutorial
The interactive tutorial, from a first component to SvelteKit, in the browser.
Svelte playground
Try a component in the browser and share it as a link.
The Svelte CLI (sv)
Create a project and add tools to it (Vitest, Playwright, ESLint, adapters) with one command.
Svelte blog
Release notes and the monthly "What's new in Svelte".
Runes and reactivity
$state
Reactive state, deep proxies, $state.raw, and state in classes.
$derived
Values computed from state, and when they recompute.
$effect
Side effects, their cleanup, and the long section on when not to use one.
{@attach}
Attachments, functions that run when an element is mounted, the newer way to write actions.
Svelte 5 migration guide
From let and $: to runes, from slots to snippets, from on:click to onclick.
Libraries
Bits UI
Headless, accessible components (dialogs, menus, comboboxes) to style yourself.
shadcn-svelte
Copy-in components built on Bits UI and Tailwind; the code becomes yours.
Superforms
Forms with SvelteKit's form actions, validation on both sides, and progressive enhancement.
Paraglide JS
Typed translations compiled into functions, with a SvelteKit setup. I built my own, but read it first.
@humanspeak/svelte-markdown
Markdown drawn by Svelte components you choose, the renderer this site uses.
Sveltia CMS
A Git-based CMS written in Svelte, a fast take on Decap CMS. It edits this site's posts.
Images in SvelteKit
@sveltejs/enhanced-img: AVIF and WebP copies, sizes and dimensions at build time.
Learning and community
Joy of Code
Clear videos and posts on Svelte and SvelteKit, often the first to cover something new.
Huntabyte
Videos on SvelteKit, forms and component libraries by the author of Bits UI.
Svelte Society
Community-made recipes, a package directory and events.
Svelte on GitHub
The source, the issues and the discussions where features are argued over.