Skip to content
Dashboard

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

Link to headingWhat is Svelte?

Link to headingHow Svelte works

Link to headingCompile-time versus runtime frameworks

Link to headingNo virtual DOM

Link to headingSignals-based reactivity through runes

Link to headingKey features of Svelte

Link to headingSvelte versus SvelteKit

Link to headingHow Svelte compares with other frameworks

Link to headingWhen Svelte is the right fit

Link to headingGet started with Svelte

Link to headingScaffolding a new project

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

Link to headingUnderstanding the project layout

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>

Link to headingDeploy your Svelte app on Vercel

Link to headingShip your next web app with Svelte

Link to headingFrequently asked questions about Svelte

Link to headingIs Svelte frontend or backend?

Link to headingIs Svelte good for large-scale applications?

Link to headingWho uses Svelte in production?

Link to headingIs Svelte free and open source?