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.

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

	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?

Contributors

Svelte is free and open source software, made possible by the work of dozens of volunteers. Join us!

Rich-Harris Conduitry tanhauhau Swatinem jacwright mindrones lukeed mrkishi ekhaled EmilTholin benmccann pngwn zxbodya btk5h jches antony tivac PaulBGD GarrettGeorge btakita FWeinb TehShrike evs-chris colincasey UnwrittenFun jacobmischka kaisermann Panya sanderhahn dependabot[bot] aphitiel skippednote MattiasBuelens halfnelson arxpoetica dimfeld Harald-1 Axelen123 m59peacemaker taylorzane leporo pushkine dkondrad stalkerg esarbanis hperrin LostKobrakai CreaturesInUnitards sw-yx thollander emilos AlexxNB AlbertLucianto cristinecula jesseskinner MikeMatrix shinnn timhall umanghome Wolfr bre30kra69cs Vages efeskucuk ItalyPaleAle ehrencrona andrelmlins bwbroersma clarkdo hong4rc lukasIO ElectronSz NitayRabi orta PaulMaly samuelgozi dummdidumm js2me trbrc 43081j BillyLevin dmitrykurmanov kevmodrome aarongeorge industral allantito almaz-khan amwmedia benlesh bfanger chrishelgert Crisfole funkybob membranophonist deanmcpherson neoel SrZorro GarethOates Jingmnt johnmuhl zlsa matt3224 mattwolff nikku oguzhaninan PKlknr varholak-peter RobinCsl sercaneraslan kyrylkov vascoosx SteveALee Th0rN13 thgh timdeschryver saibotsivad cvlab adrian5 cayasso cudr dasZGFz cbolgiano gabysantosw martinandert milahu mustafa0x elliotwaite fjorgemota buhrmi vaibhav111tandon davidaq rixo vedam adamdune 1wheel ooade zzolo alexnoz Pierstoval Alex-CS aorel AlexandreCantin talklittle ankeetmaini anthonylegoas aredridel arthurdenner acstll guzart el1f webdesq remotelydev benoror benschac bdougherty bravecow blittle c0bra bsssshhhhhhh cj81499 camjackson CMessinides caroso1222 InsanityOnABun Cleecanth chris-morgan caengen christianheine klaussner clebert dalemartyn d3sandoval himynameisdave davebrent davemo widyakumara dogagenc cornerfarmer StarpTech EddyVinck ematipico enstyled ericdfields skrifblokk evanmoncuso vilarfg ceifa Gabswim gautamkrishnar gonfva gka Denhai hchatel IlyaSemenov newbornfrontender irshadshalu ilblog IvanSanchez beegan jackyef lunchboxer jthegedus foucist Rukenshia JeremyBernier Joxtacy jesmrie jwicks31 johman10 dravog7 joncfoo 6eDesign Jongkeun kesne jormaj tel joaopaulobdac getkey pyoner kjj6198 Karsten7 khtdr netaisllc lewoudar Kiho atomAltera leereamsnyder Leon31 leomarquine axil lode lorenbrichter lguzzon lukasmoellerch lyndsysimon habibrosyad marvinhagemeister mahenrique94 mdempsky MaxMilton mikedubcurry majkelbed mterczynski mtlewis khorpy nicolasmgaray charpeni jacoux quantuminformation njbotkin nolanlawson Olanetsoft omeraplak oscarmattsson vp2177 plmrry paulocoghi blackwolf12333 RAYDENFilipp raitalharehman rajnandan1 retotrinkler rihardsgravis rohanfaiyazkhan rohankokane 91k rmariuzzo ryanatkn samccone scottbedard eps1lon sebastian-stephan shakhbulatgaz peopledrivemecrazy lenovouser Softmus CyberAP sdemjanenko StevenWeathers teymour-aldridge ThomasFerro tiberiuc timgates42 tcrowe thelgevold VarunDevPro Ti-webdev venkateshwarans FlipFloop vidaren SleepyWerewolf supermooshman Vulwsztyn jakutis Spice-Z Zachiah Zirro arggh eh-dub benib burningTyger craigglennie fiskgrodan hville igoradamenko infuzz jamesgeorge007 jasdeepgill jpsc julian-kuroiwa zhoukekestar lonevox mattstobbs mellisdesigns munrocket nhducit nomnomnomnom orange4glace priyanjitdey94 pynnl raveling rdb red-meadow rmacklin rqrqrqrq rykiplov sidx1024 simeydotme vlasy voldemortensen warmrobot Ding-Fan