Skip to content

SvelteKit features

Product Features

  • Server-side rendering

    Renders pages on the server so content is already in the target language before it reaches the browser.

  • Static site generation

    Renders pages to static HTML at build time so they can be served without per-request rendering.

  • File-based routing

    Creates a page or route for each file in a folder, so URLs follow the project's file structure.

  • API routes

    Lets you write backend API endpoints in the same project as the front end.

  • Hot module replacement

    Updates code changes in the browser instantly during development without a full page reload or losing state.

  • Incremental static regeneration

    Updates individual static pages after a site is deployed, without rebuilding the whole site.

  • Server Actions

    Lets server-side functions be called directly from the UI to handle form submissions and data mutations.

  • Edge runtime support

    Runs server code on edge networks close to users, such as Cloudflare Workers or Vercel Edge.

  • Built-in image optimization

    Resizes, compresses and converts images to modern formats automatically, and serves the right size for each screen.

  • Request middleware

    Runs custom logic on incoming requests before they reach a page, such as for redirects, header changes, or access checks.