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