Svelte
Compiler-based frontend framework for building reactive web interfaces with less boilerplate.
Web frameworks npm MIT
Used in agent projects
102
0.8% of 12,697 public repos built with AI coding agents
Rank in web frameworks
#9 of 26
by use in those projects
Downloads
6.5M
npm, last 7 days, svelte
GitHub stars
88.4K
last push Oct 9, 2026
How Svelte is used
Svelte is a dependency in 102 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.8%), #9 of 26 in web frameworks. The most used alternative there is React. Projects that use it most often also use Vite (89.2%), svelte-check (83.3%), Prettier (71.6%).
Often used with Svelte
| Vite | 89.2% of Svelte projects · 3.9× more than average |
|---|---|
| svelte-check | 83.3% of Svelte projects · 124.5× more than average |
| Prettier | 71.6% of Svelte projects · 4.1× more than average |
| TypeScript | 97.1% of Svelte projects · 1.7× more than average |
| Playwright (JavaScript) | 41.2% of Svelte projects · 4.7× more than average |
| Tailwind CSS | 71.6% of Svelte projects · 2.1× more than average |
| ESLint | 72.5% of Svelte projects · 1.9× more than average |
| Vitest | 40.2% of Svelte projects · 3.3× more than average |
By coding agent
| GitHub Copilot | 1.6% of projects set up for it |
|---|---|
| Claude Code | 1.3% of projects set up for it |
| Cursor | 1.1% of projects set up for it |
| OpenCode | 2.5% of projects set up for it |
Share of public repos configured for each agent that list Svelte as a dependency.
Install
| Package | npm install svelte |
|---|---|
| Packages counted | svelte, @sveltejs/kit, @sveltejs/vite-plugin-svelte, @sveltejs/adapter-auto, @sveltejs/adapter-node, @sveltejs/adapter-vercel, @sveltejs/adapter-static, @sveltejs/package |
| Main stacks | TypeScript / JavaScript (97), Next.js (3), Python (1), Rust (1) |
| Example projects | hplush/slowreader, avi12/youtube-downloader, n00ki/sveltekit-omakase, stickerdaniel/notion-avatar-svelte, wesselgrift/sveltekit-spa |
Alternatives to Svelte
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| React npm JavaScript library for building interactive user interfaces with components. |
5,510 (43.4%) | 186M | 251K | MIT |
| Next.js npm React framework for production with server-side rendering and static generation. |
2,861 (22.5%) | 66.2M | 143K | MIT |
| next-themes npm Abstraction for managing themes (dark/light mode) in Next.js apps. |
1,116 (8.8%) | 26.9M | 6,333 | MIT |
| React Router npm Declarative routing library for building single-page React applications. |
972 (7.7%) | 44.8M | 56.6K | MIT |
| Vue npm Progressive JavaScript framework for building interactive user interfaces. |
210 (1.7%) | 17.1M | 54.6K | MIT |
| Astro npm Modern static site builder with partial hydration and zero JavaScript by default. |
133 (1.0%) | 7.1M | 63.1K | MIT |
| React Native Web npm React Native APIs and components for web allowing code sharing between web and mobile. |
121 (1.0%) | 7.2M | 22.1K | MIT |
| Angular npm Full-featured web framework with TypeScript, dependency injection and RxJS. |
104 (0.8%) | 5.9M | 101K | MIT |