Repolode
sveltejs

sveltejs/svelte

A compiler that turns declarative web components into efficient JavaScript that surgically updates the DOM.

Stars
88,410
Forks
8,183
Open issues
1,202
Last commit
12 hours ago

What is it?

Svelte is a web UI framework built around a compiler. Instead of shipping a large runtime library that interprets components in the browser, Svelte processes components at build time and converts them into plain JavaScript that updates the DOM directly when state changes.

Developers write components in a declarative syntax, and the compiler handles the work of tracking what needs to change. This keeps the runtime small and makes the output straightforward to reason about. The project is MIT-licensed and maintained by a volunteer community, with its website, roadmap and Discord chat available for questions.

Svelte suits developers who want to build interactive web interfaces with less boilerplate and a small bundle footprint.

Key features

  • 01Compiles components into plain JavaScript that updates the DOM directly.
  • 02Uses a declarative component syntax with minimal boilerplate.
  • 03Keeps the runtime footprint small compared with virtual-DOM frameworks.
  • 04Open source under the MIT license.

Use cases

  • Building interactive single-page or server-rendered web applications.
  • Creating UI widgets where a small bundle size matters.
  • Learning a compiler-based approach to front-end frameworks.

Topics

FAQ

What is svelte?
A compiler that turns declarative web components into efficient JavaScript that surgically updates the DOM. Svelte is a web UI framework built around a compiler. Instead of shipping a large runtime library that interprets components in the browser, Svelte processes components at build time and converts them into plain JavaScript that updates the DOM directly when state changes.
Is svelte free to use? What license does it have?
svelte is open source under the MIT license. Check the license terms before using it in commercial products.
Is svelte still maintained?
Actively maintained. The last commit to svelte was on Oct 21, 2026.
What can I use svelte for?
Building interactive single-page or server-rendered web applications. Creating UI widgets where a small bundle size matters. Learning a compiler-based approach to front-end frameworks.
Where can I get svelte?
The source code and installation instructions are on GitHub: https://github.com/sveltejs/svelte

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects