SvelteKit + shadcn-svelte + MDSvex

A SvelteKit documentation starter kit

Build beautiful, fast documentation sites with SvelteKit, Tailwind CSS v4, and shadcn-svelte. Write in Markdown, style with components, deploy anywhere.

Everything you need for great docs

A fully featured documentation kit with sidebar navigation, search, dark mode, syntax highlighting, and more.

Collapsible Sidebar Navigation

Built-in left sidebar with collapsible sections, nested pages, and a rail for quick toggling. Powered by shadcn-svelte's sidebar components.

Lightning Fast

Powered by SvelteKit and Vite for instant HMR, fast builds, and seamless page transitions with zero client-side overhead.

Command Palette Search

Press Ctrl+K to open a command palette and instantly search across all your documentation pages.

Dark Mode

Automatic dark and light mode with mode-watcher. Respects system preferences and persists user choice.

Syntax Highlighting

Beautiful code blocks powered by Shiki with support for multiple languages, line numbers, and theme-aware highlighting.

MDSvex Markdown

Write docs in Markdown with full Svelte component support via MDSvex. Embed interactive examples right in your content.

shadcn-svelte Components

Pre-configured with shadcn-svelte's component library including buttons, dialogs, tooltips, breadcrumbs, and more.

Tailwind CSS v4

Styled with Tailwind CSS v4 and CSS custom properties for easy theming. Customize colors, spacing, and typography to match your brand.

Get started in 3 simple steps

From clone to deployment in minutes. No complex configuration required.

01

Clone & Install

Clone the repository and run npm install. The template comes pre-configured with SvelteKit, Tailwind CSS, shadcn-svelte, and all the tooling you need.

npx degit code-gio/svelte-docs-starter my-docs
cd my-docs && npm install
02

Write Your Docs

Add Markdown or Svelte files in the src/content directory. MDSvex handles the rendering with full support for frontmatter, code blocks, and Svelte components.

03

Deploy Anywhere

Deploy to Vercel, Netlify, Cloudflare Pages, or any Node.js host. SvelteKit adapters make deployment a single command.

Ready to build your docs?

Clone the starter, add your content, and ship. Open source, free forever.