Skip to content
Dashboard

What is Svelte? A guide to the compiler-first JavaScript framework

Copy link to headingWhat is Svelte?

Copy link to headingHow Svelte works

Copy link to headingCompile-time versus runtime frameworks

Copy link to headingNo virtual DOM

Copy link to headingSignals-based reactivity through runes

Copy link to headingKey features of Svelte

Copy link to headingSvelte versus SvelteKit

Copy link to headingHow Svelte compares with other frameworks

Copy link to headingWhen Svelte is the right fit

Copy link to headingGet started with Svelte

Copy link to headingScaffolding a new project

npx sv create my-app
cd my-app
npm install
npm run dev

Copy link to headingUnderstanding the project layout

Copy link to headingWriting your first component

<script>
let count = $state(0);
</script>
<button onclick={() => count++}>
Clicked {count} times
</button>
<style>
button {
font-size: 2em;
}
</style>

Copy link to headingDeploy your Svelte app on Vercel

Copy link to headingShip your next web app with Svelte

Copy link to headingFrequently asked questions about Svelte

Copy link to headingIs Svelte frontend or backend?

Copy link to headingIs Svelte good for large-scale applications?

Copy link to headingWho uses Svelte in production?

Copy link to headingIs Svelte free and open source?

Ready to deploy?