Skip to content
appsgit

Sveltekit Auth Example

Sveltekit Auth Example is a free, open-source SaaS boilerplate built with Svelte and SvelteKit. Example showing how to use Auth.js with SvelteKit. It has 294 GitHub stars and is released under the ISC license, and GitHub's Use this template button creates your own copy in one click.

github.com/nextauthjs/sveltekit-auth-example (opens in a new tab)

Get started

Use this template creates your own GitHub repository from it. To work locally, copy the files with degit (no git history) or clone the repository.

Copy with degit
npx degit nextauthjs/sveltekit-auth-example my-site
cd my-site
npm install   # then run the dev script from the README
Or clone with git
git clone --depth 1 https://github.com/nextauthjs/sveltekit-auth-example.git my-site

Sources: GitHub docs on template repositories, degit.

About Sveltekit Auth Example

The example repository is maintained from a monorepo. Pull Requests should be opened against nextauthjs/next-auth. This is the official SvelteKit Auth example for Auth.js.

Built with

  • Svelte
  • SvelteKit
  • TypeScript
GitHub preview card for nextauthjs/sveltekit-auth-example
GitHub social preview of nextauthjs/sveltekit-auth-example. Open the live demo for the real design.

FAQ

Sveltekit Auth Example FAQ

Still curious? Email info@appsgit.com.

What is Sveltekit Auth Example?

Sveltekit Auth Example is a free, open-source SaaS boilerplate built with Svelte and SvelteKit. Example showing how to use Auth.js with SvelteKit. It has 294 GitHub stars and is released under the ISC license, and GitHub's Use this template button creates your own copy in one click.

How do I use Sveltekit Auth Example?

Click Use this template on GitHub to create your own repository from it with a fresh history, or copy the files locally with npx degit nextauthjs/sveltekit-auth-example my-site. Then follow the README for the install and dev commands.

Can I use Sveltekit Auth Example for commercial projects?

Yes. Sveltekit Auth Example is released under the ISC license, a permissive license that allows commercial use as long as you keep the copyright and license notice. Third-party assets bundled with it (images, fonts, icons) may have their own terms.

Is Sveltekit Auth Example maintained?

The repository's most recent commit was on Jun 11, 2026. appsgit only lists templates from repositories with a commit in the last six months.