`}};customElements.define("site-search",m);(function(){let r=document.querySelector(".page-header"),e=document.querySelector("[data-site-nav-toggle]");new ResizeObserver(([n])=>{document.documentElement.style.setProperty("--ntl-page-header-height",`${n.contentRect.height}px`)}).observe(r),e&&e.addEventListener("click",function(){let n=this.getAttribute("aria-expanded")==="true"||!1;document.documentElement.toggleAttribute("data-site-nav-open",!n),this.setAttribute("aria-expanded",!n)})})();

Svelte on Netlify

Build, run, and deploy your Svelte project on Netlify

Get more from Svelte with Netlify

Netlify is the all-in-one platform that adds essential power & functionality to Svelte apps. Get everything teams need for successful web applications - from local development to production deployment.

Who uses Netlify? One million hands are raised.

Join over one million developers & companies who’ve used Netlify to host Jamstack projects. Give it a try with your favorite Git providers and a sample project template.

A workflow that really flows

Push changes to your project in Git and Netlify builds and deploys a new version of your site—complete with a preview URL.

<Sidebar> <PageNav/> <LogInWidget user={user} /> </Sidebar> git push origin main
6:32:51 PM: deploying site from 'dist/' 6:32:51 PM: 134 new files to upload 6:32:51 PM: 8 new functions to upload 6:32:53 PM: Post processing done
 6:32:53 PM: Site is live
Use any CMS or data source Provide content and data via APIs for a modern, decoupled architecture. Automate everything with Netlify Netlify runs a new Svelte build in the cloud each time content or code changes. Deliver the fastest site possible Prerendered assets served from worldwide edge locations guarantee site speed. Your CMS Any API Netlify Edge Netlify Functions