Svelte

Open Source

by Svelte

Provided by Svelte

Not yet rated
Platform
Web
Pricing
Open Source
Account required
No
Ads
None
Last verified
2 hours ago
Developer
Svelte
Official URL

Overview

Svelte is a framework for building web user interfaces. You write components in .svelte files using HTML, CSS and JavaScript, and a compiler turns them into small, optimised JavaScript at build time, rather than shipping a large runtime library to the browser to do that work on every page load.

State and reactivity are handled by a small set of compiler keywords called runes, such as $state, $derived, $effect and $props. TypeScript is supported inside components. For whole sites and apps, the project maintains SvelteKit, a companion application framework for full-stack work, along with a command-line tool for setting projects up.

The official site has an interactive tutorial, a browser playground where you can try components and save them, and full documentation. Svelte is released under the MIT licence. The site says it is backed by Vercel and by donors through Open Collective, and is developed by a mix of full-time and part-time maintainers.

Features

  • Compiles components to optimised JavaScript at build time
  • Components written in .svelte files with HTML, CSS and JavaScript together
  • Runes such as $state, $derived, $effect and $props for reactivity
  • TypeScript support inside components
  • SvelteKit companion framework for full-stack apps
  • Command-line tool for creating and extending projects
  • Browser playground for trying code without installing anything
  • Interactive tutorial on the official site

Privacy

See the official privacy policy. Svelte itself is a library that runs in your own project; no account is needed to install or use it.

Pros & Cons

Pros

  • Free and open source under the MIT licence
  • Components tend to need less code than in many other frameworks
  • Playground and tutorial let you learn in the browser before installing
  • SvelteKit covers routing and server work from the same team

Cons

  • Needs a build step, so it is not a drop-in script for a plain HTML page
  • Runes and the .svelte file format are specific to Svelte and take time to learn
  • Real projects normally also mean learning SvelteKit and its conventions

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools

  • Web Frameworks · React

    Builds user interfaces from reusable components.

    Not yet rated
    Open Source Web
  • Web Frameworks · Vue.js

    Builds user interfaces with a progressive JavaScript framework.

    Not yet rated
    Open Source Web
  • Web Frameworks · Angular

    Builds large-scale web applications with a full-featured framework.

    Not yet rated
    Open Source Web