Updated

SvelteKit

Application framework built on Svelte for routing, server-side rendering, and deployment of web apps.

74 open-source projects declare SvelteKit in their code; 2 makers' products we track use it. What makers like most: Developers find it simpler and more productive than Next.js, and rewrites from Next.js go smoothly. Their most common complaint: API changes during active development make projects feel unstable and hard to test. On GitHub, 46 public pull requests moved projects to SvelteKit from tools we list, and 35 moved them away.

Open sourceSelf-hostableFree tier

Profile checked

Works with AI agents:llms.txtMCPCLI
Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

How makers use SvelteKit

Makers' products we track use SvelteKit for frontend framework (2).

What SvelteKit is used for

Frontend Framework · Svelte or Vue full-stack →Apps written in Svelte, with less boilerplate and small client bundles.Trade-off: Fewer third-party component libraries than React.
Next.js1,731Astro270React235Vue.js67Svelte43SvelteKit2Makers' products on each, for frontend framework

SvelteKit vs the alternatives makers chose

For frontend framework, 2 of the 2,289 makers' products we know the choice of picked SvelteKit (0%), behind Next.js (76%).

OptionMakers' products2026 launchesOpen source
Next.js1,731 76%78%Yes
Astro270 12%13%Yes
React235 10%8%Yes
Vue.js67 3%2%Yes
Svelte43 2%1%Yes
Nuxt28 1%1%Yes
SvelteKit2 0%0%Yes

For frontend framework: how many of the 2,289 makers' products we know the frontend framework of chose each option, and the share among the 452 launched in 2026, since a tool that came first has products from every year.

When to use SvelteKit, and when not

Pick SvelteKit if

Something else fits better if

  • Your app lives behind a login and doesn't need search traffic: React.
  • Public pages need server rendering and you want server code in the same React project: Next.js or React Router or TanStack Start.
  • You're building a marketing site, docs or a blog: Astro.
From each decision's guide, written from what makers' products chose and why.

SvelteKit is the application framework for Svelte, the role Next.js plays for React or Nuxt for Vue. Svelte compiles components into small JavaScript and CSS; SvelteKit adds routing, data loading, server code, rendering options and the build, using Vite.

More about SvelteKit

Routes are folders under src/routes. A +page.svelte file renders a page, a +page.server.js load function fetches its data on the server, form actions handle POSTed forms without client JavaScript, and +server.js files are plain API endpoints. Hooks run on every request for things like reading a session cookie. By default the first page is server-rendered and later navigation happens in the browser, and you can set prerendering, SSR or client-only rendering per page or layout.

Adapters turn the build into output for a target. Official ones cover Node servers, Bun, static sites, Vercel, Netlify and Cloudflare, with community adapters for other platforms. It also supports service workers for offline apps, and a SPA build can be wrapped with Tauri or Capacitor for desktop and mobile.

Limits to know: there is no built-in auth or database layer, though the Svelte CLI can set up Better Auth and database integrations. Remote functions, its newer typed client-server calls, are still experimental. The ecosystem of components and examples is smaller than React's.

How SvelteKit itself is built

8 tools, from its own code, website and Product Hunt page.

SvelteKit pros and cons

What makers like most: Developers find it simpler and more productive than Next.js, and rewrites from Next.js go smoothly. Their most common complaint: API changes during active development make projects feel unstable and hard to test.

Pros

  • Developers find it simpler and more productive than Next.js, and rewrites from Next.js go smoothly. HNHN 2HN 3
  • It stays close to plain HTML, CSS and JavaScript, so it is easy to learn from web basics. HNHN 2HN 3
  • It works for small SPAs and scales up when an app unexpectedly grows complex. HNHN 2HN 3
  • Coding agents produce working SvelteKit apps quickly. HNHN 2

Cons and watch-outs

  • API changes during active development make projects feel unstable and hard to test. HNHN 2
  • It is not batteries-included, so ORM, admin and auth rely on third-party packages that feel hacky. HN
  • Component CSS stays in the page after unmount by design, causing layout bugs that depend on navigation path. HN

Themes that recur in makers' words and Hacker News comments, each linked to what it summarises.

What Hacker News says about SvelteKit

On Hacker News, 40% of comments about SvelteKit recommend it and 9% criticize it: net praise +31%, 4th best liked of 14 tools HN discusses for frontend framework.

By year

YearComments choosing it, per monthNet praise
20235.4+41%
20244.0+24%
20252.2+13%
2026 (8 mo)2.8+41%

In their words

  • “I use vp with sveltekit for my personal projects now, and I must say it's a very nice experience.” HN, Jul 2026
  • “Eventually I tried SvelteKit, and it completely changed my perspective.” HN, Jul 2026
  • “I like SvelteKit, but I was struggling with stability in active development periods” HN, May 2026

Hacker News comments January 2023 to August 2026 that name SvelteKit in a sentence like "I use" or "we moved to", Claude read a sample of 100 and the counts scale it to all of them; net praise is comments recommending it minus comments criticizing it, as a share of all comments about it. How it's counted, and how HN compares with makers.

Reliability and open issues

The most wanted open issue on GitHub has 333 👍.

Most wanted on GitHub

Open on 2026-10-04 in sveltejs/kit, with activity in the last year — issues and feature requests by 👍.

Who switches

More projects move to SvelteKit: 46 pull requests in, 35 out; the most come from Next.js and leave for Astro.

Moving to SvelteKitMoving away
SvelteKit
Next.js → SvelteKit22 PRs
React → SvelteKit17 PRs
Astro → SvelteKit4 PRs
Nuxt → SvelteKit3 PRs
SvelteKit → Astro13 PRs
SvelteKit → Next.js11 PRs
SvelteKit → React8 PRs
SvelteKit → Nuxt3 PRs

Public pull requests on GitHub since Oct 2024 whose title says "X to Y" — real code changes moving a project from one tool to another, by developers in general.

Who uses it

2 makers' products, each linked to the source that shows it, and 74 open-source projects that declare it in their code.

Job posting 2Declared in code 74How evidence is collected →
ark
arkUnstyled, accessible UI components for your design System. Works in React, Vue, Solid, a…Frontend FrameworkIn its code · source ↗
justship
justshipGone · site taken down on its host, Oct 2026A svelte 5 and sveltekit saas boilerplate. Including database, authentication, email, an…Frontend FrameworkIn its code · source ↗

Open source: a project that declares SvelteKit as a dependency in its public code — verifiable, but not necessarily a live product.

What its projects tell coding agents

28 of the 47 open-source products built with SvelteKit that were worked on in the last 180 days keep instruction files for coding agents — 60%, against 53% of all the projects we read. AGENTS.md is in 23, CLAUDE.md in 17.

1,666words in the median file
npmthe package manager most named, in 6 of 24 files
67%say how to test a change
Named more in these files than in other projects' — in how many of the 24:
What AGENTS.md files say about other tools →What open-source products tell their coding agents →

Alternatives to SvelteKit

All alternatives by situation →

Further reading

Questions makers ask about SvelteKit

What is SvelteKit used for?

Application framework built on Svelte for routing, server-side rendering, and deployment of web apps. Makers' products we track use it for frontend framework (2).

What are the pros and cons of SvelteKit?

Pros makers name: Developers find it simpler and more productive than Next.js, and rewrites from Next.js go smoothly. It stays close to plain HTML, CSS and JavaScript, so it is easy to learn from web basics. It works for small SPAs and scales up when an app unexpectedly grows complex. Cons: API changes during active development make projects feel unstable and hard to test. It is not batteries-included, so ORM, admin and auth rely on third-party packages that feel hacky. Component CSS stays in the page after unmount by design, causing layout bugs that depend on navigation path.

What are the alternatives to SvelteKit?

For frontend framework, the other options makers' products we track chose most are Next.js (1,731), Astro (270), React (235), Vue.js (67), Svelte (43), Nuxt (28). Open source or self-hostable among them: Next.js, Astro, React, Vue.js, Svelte, Nuxt. Each alternative, with the situation it fits, is on the SvelteKit alternatives page.

Do developers switch to or away from SvelteKit?

On GitHub, 46 public pull requests moved projects to SvelteKit from tools we list, most from Next.js (22), React (17), Astro (4); 35 moved them away, most to Astro (13), Next.js (11), React (8).

When should you use SvelteKit?

You already know Vue, or Svelte, and need server rendering (frontend framework). Something else fits better if: your app lives behind a login and doesn't need search traffic, pick React; Public pages need server rendering and you want server code in the same React project, pick Next.js or React Router or TanStack Start.

Where can I deploy a SvelteKit app?

You pick an adapter for the target. Official adapters exist for Node servers, Bun, static hosting, Vercel, Netlify and Cloudflare, and community adapters cover other platforms. source ↗

Can it generate a fully static site?

Yes. adapter-static prerenders the whole site to files. To prerender only some pages and server-render the rest, use another adapter with the prerender page option. source ↗

Can I build a client-only single-page app?

Yes, by turning off SSR and serving a fallback page. The docs warn this costs load performance and SEO, and suggest prerendering as many pages as you can. source ↗

Can I use it with a backend written in another language?

Yes. The recommended setup deploys the SvelteKit frontend separately with the Node or a serverless adapter; you can also serve it as a SPA from your existing backend, with worse SEO and performance. source ↗

How do I add authentication?

SvelteKit has no built-in auth. You check the session cookie in the handle hook and put the user on locals; the Svelte CLI can set up Better Auth, and the Lucia guide covers building session auth yourself. source ↗

How do I connect a database?

Query the database only in server code, typically through a shared client module, never in .svelte components. The Svelte CLI can set up database integrations for you. source ↗

Can I ship it as a mobile or desktop app?

Yes. A SvelteKit SPA can be packaged as a mobile app with Tauri or Capacitor, or as a desktop app with Tauri, Wails or Electron. source ↗

Is SvelteKit free?

Yes — it is free, open-source software.

Is SvelteKit open source or self-hostable?

Open source, and you can self-host it. source ↗

Can AI coding agents work with SvelteKit?

It serves an llms.txt docs index; it has an official MCP server (dev.svelte/mcp); it has an official CLI (@sveltejs/kit).

Who uses SvelteKit?

2 makers' products we track, each with a source, and 74 open-source projects declare it in their code. source ↗