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 mindrones mrkishi ekhaled EmilTholin RedHatter zxbodya btk5h jches pngwn PaulBGD GarrettGeorge btakita FWeinb TehShrike evs-chris colincasey UnwrittenFun jacobmischka tivac kaisermann Panya sanderhahn aphitiel MattiasBuelens halfnelson Harald-1 Axelen123 m59peacemaker taylorzane leporo dkondrad arxpoetica stalkerg esarbanis hperrin LostKobrakai CreaturesInUnitards thollander emilos AlexxNB AlbertLucianto antony cristinecula jesseskinner MikeMatrix shinnn timhall umanghome bre30kra69cs dependabot[bot] Vages qintarp bwbroersma clarkdo Hongarc lukasIO ElectronSz NitayRabi PaulMaly samuelgozi js2me trbrc 43081j dmitrykurmanov aarongeorge ItalyPaleAle industral allantito almaz-khan amwmedia benlesh chrishelgert Crisfole funkybob membranophonist deanmcpherson deyyanl neoel SrZorro GarethOates Jingmnt johnmuhl zlsa matt3224 nikku oguzhaninan PKlknr varholak-peter sercaneraslan kyrylkov vascoosx SteveALee thgh timdeschryver saibotsivad cvlab Wolfr adrian5 cayasso cudr dasZGFz cbolgiano gabysantosw martinandert mustafa0x sw-yx elliotwaite fjorgemota buhrmi vaibhav111tandon davidaq rixo vedam 1wheel 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 domin1101 StarpTech ematipico enstyled ericdfields evanmoncuso vilarfg ceifa Gabswim gautamkrishnar gonfva gka Denhai hchatel IlyaSemenov newbornfrontender ilblog IvanSanchez beegan jackyef lunchboxer foucist Rukenshia Joxtacy jwicks31 johman10 joncfoo 6eDesign Jongkeun kesne jormaj getkey pyoner Karsten7 khtdr netaisllc lewoudar kevmodrome Kiho atomAltera leereamsnyder Leon31 leomarquine lode lorenbrichter lguzzon lyndsysimon marvinhagemeister mahenrique94 mdempsky MaxMilton cryptofool13 mterczynski mtlewis khorpy nicolasmgaray charpeni jacoux QuantumInformation njbotkin nolanlawson omeraplak vp2177 plmrry paulocoghi blackwolf12333 RAYDENFilipp raitalharehman rajnandan1 retotrinkler rhucle rihardsgravis rohanfaiyazkhan rmariuzzo ryanatkn scottbedard eps1lon sebastian-stephan shakhbulatgaz lenovouser Softmus StevenWeathers ThomasFerro tiberiuc 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 priyanjitdey94 pushkine pynnl raveling red-meadow rqrqrqrq rykiplov sidx1024 simeydotme vlasy voldemortensen Ding-Fan