Template name
Get started with beautiful documentation on the Next.js App Router, Nextra, and MantineUI

Made with glancecard · refreshed daily
A Next.js App Router template for documentation sites, on Mantine and Nextra.
The engine is Nextra 4: its docs theme renders the MDX pages, the sidebar and the table of contents, and Mantine is wired into it, with one theme, the two dark modes kept in sync, and your own components available in every page.
Live demo · Documentation · Release notes · Mantine Extensions Hub
The same Mantine starter comes on three documentation engines: the same landing page, the same footer and the same Mantine look. What changes is what compiles and serves the docs.
▶ The three templates in 30 seconds
| Template | Engine | Live demo |
|---|---|---|
| Mantine Next.js + Docs | @next/mdx: no docs framework, every piece of the interface a Mantine component | next-app-mantine-docs-template.vercel.app |
| Mantine Next.js + Nextra (this one) | Nextra 4 and its docs theme, with Mantine wired in | next-app-nextra-template.vercel.app |
| Mantine Next.js + Fumadocs | headless fumadocs-core under a docs UI built 100% with Mantine | next-app-fumadocs-template.vercel.app |
Looking for components to put in your docs? The Mantine Extensions Hub lists the same author's open-source extensions for Mantine.
git clone https://github.com/gfazioli/next-app-nextra-template.git my-docscd my-docsyarn installyarn devOpen http://localhost:3000: the landing page is at /, the documentation at /docs. Add .mdx pages in content and order them in the _meta.ts files.
Requirements: Node.js 24 (see .nvmrc) and Yarn 4, which the repository pins: do not use npm or pnpm.
package.json at build timeapp – Next.js App Router pages, layouts, and API routescomponents – shared components (usable in both documentation and application)components/Home – the landing page, section by sectioncontent – the docs: .mdx pages and _meta.ts filesconfig – centralized site configuration (metadata, GitHub API, search); config/site.ts says which of the three templates this isdev – the dev serverbuild – the production build, then the Pagefind indexanalyze – bundle analysis with @next/bundle-analyzertest – typegen, formatting, lint, types and Jesttypecheck, lint, jest, jest:watch, format:test, format:writestorybook, storybook:buildyarn build writes the Pagefind index after the Next.js build.yarn build, then yarn start.GITHUB_TOKEN to lift the GitHub releases proxy above GitHub's anonymous rate limit.Your support helps me:
Open source thrives when those who benefit can give back—even a small monthly contribution makes a real difference. Sponsorships help cover maintenance time, infrastructure, and the countless invisible tasks that keep a project healthy.
Your help truly matters.
💚 Become a sponsor today and help me keep this project reliable, up‑to‑date, and growing for everyone.