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)
Data as of from the GitHub API; description from the project's repository. Report an error
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.
npx degit nextauthjs/sveltekit-auth-example my-site
cd my-site
npm install # then run the dev script from the READMEgit clone --depth 1 https://github.com/nextauthjs/sveltekit-auth-example.git my-siteSources: 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
Similar templates
More SaaS boilerplates & starters
Rt Stack
nktnet1/rt-stack
Lightweight fullstack turborepo with modular components, shared configs, containerised deployments and 100% type-safety.
Maintained · last commit Oct 19, 2026
SaaS boilerplates & startersTypeScriptMkdirs
MkThingsHQ/mkdirs
Open-source AI-powered directory website template built with Next.js.
Too new to judge · created Aug 9, 2026
SaaS boilerplates & startersTypeScriptShrimpreel
qianshuixia/shrimpreel
Open-source template for "one photo → AI video that follows a viral template" SaaS sites, one site per trending keyword.
Too new to judge · created Oct 20, 2026
SaaS boilerplates & startersTypeScriptVital
jvidalv/vital
Starter template for Vite with React (TypeScript).
Maintained · last commit Sep 26, 2026
SaaS boilerplates & startersTypeScriptTdesign React Starter
Tencent/tdesign-react-starter
A starter-kit for TDesign React UI components.
Maintained · last commit May 19, 2026
OfficialSaaS boilerplates & startersTypeScriptNext App Starter
jellydn/next-app-starter
Another awesome starter for your app base on nextjs + tailwind + react-query + zod + react-hook-form + next-auth + jotai.
Maintained · last commit Oct 25, 2026
SaaS boilerplates & startersTypeScript
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.