Svelte

Svelte logo
Svelte logotype

Cybernetically enhanced web apps

Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.

Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.

We're proud that Svelte was recently voted the most loved web framework with the most satisfied developers in a pair of industry surveys. We think you'll love it too. Read the introductory blog post to learn more.

npx degit sveltejs/template my-svelte-project
# or download and extract this .zip file
cd my-svelte-project
# to use TypeScript run:
# node scripts/setupTypeScript.js

npm install
npm run dev
		

See the quickstart guide for more information.

Learn Svelte

Svelte components are built on top of HTML. Just add data.

CSS is component-scoped by default — no more style collisions or specificity wars. Or you can use your favourite CSS-in-JS library.

Trigger efficient, granular updates by assigning to local variables. The compiler does the rest.

Build beautiful UIs with a powerful, performant transition engine built right into the framework.

Who's using Svelte?

Supporters

Svelte is free and open source software, made possible by the work of hundreds of volunteers and donors. Join us or give!

Contributors

Rich-Harris Conduitry tanhauhau benmccann dummdidumm Swatinem jacwright lukeed mindrones mrkishi ekhaled pngwn antony EmilTholin zxbodya btk5h jches tivac d3sandoval PaulBGD GarrettGeorge btakita FWeinb geoffrich pushkine halfnelson evs-chris colincasey jamesbirtles TehShrike jacobmischka kaisermann Panya sanderhahn aphitiel skippednote MattiasBuelens ehrencrona dimfeld sw-yx Harald-1 Axelen123 m59peacemaker taylorzane leporo dkondrad stalkerg thollander esarbanis hperrin LostKobrakai jesseskinner CreaturesInUnitards peopledrivemecrazy stephane-vanraes umanghome baseballyama emilos kevmodrome Vages AlexxNB AlbertLucianto bluwy cristinecula SomaticIT MikeMatrix arxpoetica shinnn timhall Wolfr bre30kra69cs milahu 123aswin123 efeskucuk ItalyPaleAle andrelmlins bwbroersma clarkdo dominikg hbirler ignatiusmb ElectronSz NitayRabi orta PaulMaly samuelgozi Shinyaigeek js2me trbrc 43081j BillyLevin dmitrykurmanov aarongeorge arackaf industral allantito almaz-khan amwmedia anthonylegoas benlesh bfanger CMessinides chrishelgert Crisfole funkybob membranophonist deanmcpherson neoel dreitzner SrZorro ceifa Jingmnt johnmuhl zlsa joaopaulobdac nosovk lukasmoellerch matt3224 mattwolff mhmd-22 nikku oguzhaninan PKlknr plmrry varholak-peter RobinCsl sercaneraslan kyrylkov vascoosx SteveALee Th0rN13 thgh timdeschryver saibotsivad cvlab adrian5 cayasso cudr dasZGFz cbolgiano fivemru gabysantosw martinandert mustafa0x zh-lx Kapsonfire-DE elliotwaite fjorgemota vaibhav111tandon davidaq rixo vedam ogre-yoga adam-bates adamdune 1wheel ooade JitPackJoyride Alaricus Lumm1t alexiglesias93 alexnoz Pierstoval Alex-CS aorel AlexandreCantin AlexGalays MeuhMeuh almogtavor Phaqui andreieftimie gilgameshskytrooper talklittle hexagonrecursion abruere ankeetmaini aredridel arthurdenner acstll guzart AshishKapoor RedHatter el1f babakfp webdesq remotelydev bashunaimiroy benoror palewire benschac rster2002 bdougherty korywka blittle c0bra bsssshhhhhhh cj81499 Orbyt camjackson caroso1222 InsanityOnABun Cleecanth chris-morgan caengen christianheine klaussner clebert dalemartyn damianpumar dkzlv DanielPower himynameisdave davebrent davedawkins davemo daybrush debargharoy widyakumara diegoramosxyz DoctorNefario dogagenc cornerfarmer StarpTech EddyVinck EmNudge ematipico enstyled ericdfields ersin-ertan skrifblokk evanmoncuso vilarfg fielding fraserdarwent Gabswim gautamkrishnar GeopJr gonfva gka GllmR Denhai ivanhofer hchatel IlyaSemenov newbornfrontender irshad irshadshalu ilblog IvanSanchez j-delaney beegan jackyef lunchboxer jthegedus euoia foucist Rukenshia jatinhemnani01 JeremyBernier Joxtacy jesmrie jwicks31 neorth johman10 dravog7 6eDesign Jongkeun jonniek kesne jormaj tel JounQin getkey pyoner vitalragaz kjj6198 Karsten7 khtdr netaisllc lewoudar kieranbarker Kiho atomAltera kissu lawrencelogoh leereamsnyder div-Leo leomarquine axil itsliamegan lode lorenbrichter lguzzon confraria lukerhoads lyndsysimon jasonlyu123 habibrosyad baslr MShuttle marvinhagemeister mahenrique94 mdempsky spaceinvadev maxmilton mikedubcurry majkelbed mterczynski mkhan45 mtlewis khorpy macmillen stokesman Milesq Mlocik97 mohamedhaddi haond10adp nick-vincent nicolasmgaray charpeni jacoux quantuminformation njbotkin nolanlawson hunnble odjhey OJFord Olanetsoft omeraplak lovasoa oscard0m oscarmattsson outloudvi vp2177 paulocoghi pboling blackwolf12333 RAYDENFilipp michaelphipps hontas raitalharehman rajnandan1 retotrinkler rohanfaiyazkhan rohankokane 91k roychoo rmariuzzo ItzaMi ryanatkn samccone Greenheart sangxxh mrsauravsahu scottbedard eps1lon sebastian-stephan shakhbulatgaz lenovouser john7doe Softmus CyberAP buhrmi sdemjanenko StevenWeathers teymour-aldridge TheJaredWilcurt theodorejb ThomasFerro tiberiuc Gohlisch timgates42 tgroshon tcrowe thelgevold RaiVaibhav VarunDevPro Ti-webdev venkateshwarans FlipFloop vidaren vidit1999 SleepyWerewolf vicky1999 supermooshman Vulwsztyn jakutis wlockiv yesmeck wjtje Spice-Z Zachiah Zirro arggh eh-dub benib btvoidx burningTyger craigglennie decaylala dmitrage duarte-pompeu fiskgrodan fsinn gltchitm gunggmee hmt hville igoradamenko infuzz izumiiii jamesgeorge007 jasdeepgill jpsc julian-kuroiwa zhoukekestar kindoflew lonevox mellanslag-de mellisdesigns munrocket nhducit nomnomnomnom orange4glace priyanjitdey94 pynnl raveling rdb red-meadow

Donors

Datawrapper Frontend Masters Dabble Avast Vercel Hugging Face Layer0 Matt Kenoxa GmbH PQINA Zev Averbach Donovan Dikaio The Pudding INVISR Jason Hetherington Jailbreak Threema Open Source Fund BuildLab David Stevens Morgan Williams Andrew Ewing Mike Williams Johan Ronsse Emma Agering Svelte School Level Up Tutorials Ron Au Oskar Oldorf Jacques Delon Franz Sittampalam Cain Voong Wilson Jimenez Nicky Hajal Robert Balfre Patrick Szczypinski Dean Papastrat Rik Schennink Ivan Writers Per Hour Scott Tolinski Kennedy Otieno Slimboyfat Pier Ryan Atkinson Entriwise Noah Glaser Qwerty ~ Vítězslav Ackermann Ferko Scott Spence Paulo Vieira BGSL SARFEX Chris Dhanaraj Bobby Cusicanqui Conor Woods James Nisbet Adam Barrett Craig Aschbrenner Jorge Morales Társasház Buda Nick Breaton Dzikri Aziz Juanfran Andrew Wooldridge Benoit Jadinon Doug MacMillan Bill Kurtson Andrey Sitnik Nick Wing Cole Page Brad Dougherty ERGON Datenprojekte GmbH Johannes Mutter John Schottler Steve James Moritz Stefaner Yann Bougaret Salesforce linux_china Johannes Gehrs Peach Perfect Weddings Ltd Kiyohito Keeth Kuwahara Andrew Chou Eric Lanehart Maximilian Franzke Widgetic Jonas Musekura Lundsholm Doomd Felix Hungenberg Sid nagavarapu Carlos Saltos Dana Woodman Julian Burgess Jimmy Gee Jon Telles Steven Yung Alex Hortopan Henrique Doro Sebastian Zürcher Álvaro Domínguez López Alessandro Segala Nathan Doyle ptkdev Riversweeps Efe Erdoğru DigitalOcean John Scott Careswitch Candido Sales Gomes Scott Anthony Robson Razvan Tanase Sean Clarke Oscar Quinteros Julia Ogris Sasha Sushko Aaron Eischeid Piyush brunnerh Carlo Dell'Acqua kadevland Ajit Krishna Niklas Heer Alex Bruno Cáceres Rexford Nyarko Nkansah Paul Glezen Korakot Chaovavanich Kirill Vasiltsov Aaron Moy Jakov Kovač gengns Kostadin Terziev Radu Ross Hill NodeArt nimmneun Alexandre CANTIN Garrett Saxon Reiza Haniff Carlo Corradini Bruno Canini GoMage Vladislav Polyakov Thiago Lagden Magalhães lanset Dong-won Jeffrey Lee Mihael Mutic