Svelte is a modern JavaScript framework for building user interfaces. Unlike traditional frameworks such as React or Vue, which perform most of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.