Svelte logo

Svelte

A UI framework that compiles into tiny standalone JavaScript modules

What is Svelte?

If you've ever built a JavaScript application, the chances are you've encountered – or at least heard of – frameworks like React, Angular, Vue and Ractive. Like Svelte, these tools all share a goal of making it easy to build slick interactive user interfaces. Rather than interpreting your application code at run time, your app is converted into ideal JavaScript at build time. That means you don't pay the performance cost of the framework's abstractions, or incur a penalty when your app first loads.
Svelte is a tool in the Javascript UI Libraries category of a tech stack.
Svelte is an open source tool with 46K GitHub stars and 2.1K GitHub forks. Here’s a link to Svelte's open source repository on GitHub

Who uses Svelte?

Companies
26 companies reportedly use Svelte in their tech stacks, including Noppo, cloudless, and Codustry.

Developers
475 developers on StackShare have stated that they use Svelte.

Svelte Integrations

Framework7, FusionCharts, Sapper (Svelte), Snowpack, and Devsync are some of the popular tools that integrate with Svelte. Here's a list of all 8 tools that integrate with Svelte.
Pros of Svelte
33
Performance
27
Reactivity
26
Javascript compiler (do that browsers don't have to)
23
Components
21
Real Reactivity
21
Lightweight
20
Simplicity
19
Fast as vanilajs
17
Near to no learning curve
14
Use existing js libraries
14
Compiler based
13
All in one
12
Scalable
11
Composable
10
Very easy for beginners
10
SSR
9
No runtime overhead
8
Ease of use
7
Built in store
4
Best Developer Experience
4
Templates
4
Typescript
3
Start with pure html + css
1
Speed
Decisions about Svelte

Here are some stack decisions, common use cases and reviews by companies and developers who chose Svelte in their tech stack.

Sarmad Chaudhary
Founder & CEO at Ebiz Ltd. · | 8 upvotes · 340.4K views

Hi there!

I just want to have a simple poll/vote...

If you guys need a UI/Component Library for React, Vue.js, or AngularJS, which type of library would you prefer between:

1 ) A single maintained cross-framework library that is 100% compatible and can be integrated with any popular framework like Vue, React, Angular 2, Svelte, etc.

2) A native framework-specific library developed to work only on target framework like ElementUI for Vue, Ant Design for React.

Your advice would help a lot! Thanks in advance :)

See more

Blog Posts

JavaScriptGitHubReact+12
5
3142

Svelte's Features

  • Write less code
  • No virtual DOM
  • Truly reactive

Svelte Alternatives & Comparisons

What are some alternatives to Svelte?
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Elm
Writing HTML apps is super easy with elm-lang/html. Not only does it render extremely fast, it also quietly guides you towards well-architected code.
Imba
Imba is a new programming language for the web that compiles to performant and readable JavaScript. It has language level support for defining, extending, subclassing, instantiating and rendering dom nodes.
Stencil
Stencil combines some of the best features from traditional frameworks, but outputs 100% standards-compliant Custom Elements, part of the Web Component spec.
Preact
Preact is an attempt to recreate the core value proposition of React (or similar libraries like Mithril) using as little code as possible, with first-class support for ES2015. Currently the library is around 3kb (minified & gzipped).
See all alternatives

Svelte's Followers
632 developers follow Svelte to keep up with related blogs and decisions.