Documentation,straight out of the box.
A documentation template built with Next.js, Tailwind CSS, and shadcn/ui on Base UI.
# install dependencies
pnpm install
# start the docs server
pnpm dev
# verify everything before you commit
pnpm preflightExplore the template
Every page ships with the template — read them to see each pattern in action.
InstallationClone, install, and run the template locally.QuickstartAdd your first page in under five minutes.ThemingDesign tokens, dark mode, and the Geist palette.NavigationSidebar sections, the command palette, and pagers.ComponentsThe building blocks available for doc pages.ConfigurationEvery knob: site config, lint rules, and hooks.ChangelogRelease history for the template.
Project structure
Pages live in the app/(docs) route group and share one layout. Navigation is driven by a single config file, so adding a page means adding one route and one nav entry.
app/
(docs)/ # All doc pages share this layout
layout.tsx # Shell: header and sidebar
page.tsx # This page
components/
app-sidebar.tsx # Resizable navigation sidebar
command-palette.tsx
docs/ # DocPage, TOC, pager, code block
lib/
docs-nav.ts # Single source of truth for navigation
site.ts # Site name, version, links