kit
SvelteKit is the official application framework for Svelte, built on Vite, providing filesystem-based routing, server-side rendering, data loading, form actions, and deployment adapters for a range of hosting platforms.
MITPermissive — free to use in commercial and proprietary software, with attribution.View license →
Production readiness
4/5- Actively maintainedCommits in the last 6 months
- No known vulnerabilitiesNot yet scanned
- Clear, usable licenseMIT (permissive)
- Proven adoptionWidely used
- Has documentationDocumentation indexed
npm install kitOur analysis
SvelteKit is the meta-framework for building full-stack web applications with Svelte. It layers routing, SSR/SSG/CSR rendering modes, server endpoints, and a pluggable adapter system over Vite's build tooling.
When to use kit
Choose it when building Svelte apps that need more than a single-page client bundle — server rendering, file-based routing, API/server routes, progressive form enhancement, or deployment to platforms like Vercel, Netlify, Cloudflare, or a Node server.
When not to
If your team prefers React or Vue, the respective meta-frameworks (Next.js, Nuxt) have larger ecosystems. For a purely static, content-heavy site with minimal interactivity, Astro may produce leaner output, and for a trivial client-only widget plain Svelte + Vite is enough.
Strengths
- Tight integration with Svelte and Vite for fast dev/build and small bundles
- Flexible rendering: SSR, SSG, CSR, and per-route configuration
- Adapter abstraction lets the same app target many hosts with minimal changes
- Built-in conventions for data loading, form actions, and progressive enhancement
- Maintained by the core Svelte team, ensuring alignment with the framework
Trade-offs
- Smaller ecosystem of third-party libraries and integrations than React/Next
- Conventions (load functions, hooks, adapters) have a learning curve
- Has gone through breaking API changes across major versions
- Build/SSR issues often trace back to Vite, complicating debugging
Maturity
Mature and production-ready with 20k+ stars, official Svelte-team stewardship, frequent releases, and first-party adapters for major hosting providers; backed by the broader Svelte ecosystem and Svelte 5 alignment.
SvelteKit
Web development, streamlined. Read the documentation to get started.
Packages
PackageChangelog@sveltejs/kitChangelog@sveltejs/adapter-autoChangelog@sveltejs/adapter-cloudflareChangelog@sveltejs/adapter-netlifyChangelog@sveltejs/adapter-nodeChangelog@sveltejs/adapter-staticChangelog@sveltejs/adapter-vercelChangelog@sveltejs/ampChangelog@sveltejs/enhanced-imgChangelog@sveltejs/packageChangelog
Additional adapters are maintained by the community.
Bug reporting
Please make sure the issue you're reporting involves SvelteKit. Many issues related to how a project builds originate from Vite, which is used to build a SvelteKit project. You can create a new Vite project with npm create vite@latest for client-side only repros and npm create vite-extra@latest for SSR or library repros.
If an issue originates from Vite, please report it in the Vite issue tracker.
Contributing
See CONTRIBUTING.md for information on how to develop SvelteKit locally.
Supporting Svelte
Svelte is an MIT-licensed open source project with its ongoing development made possible entirely by fantastic volunteers. If you'd like to support their efforts, please consider:
Funds donated via Open Collective will be used for compensating expenses related to Svelte's development such as hosting costs. If sufficient donations are received, funds may also be used to support Svelte's development more directly.