gfazioli/next-app-nextra-template
About
Template for Next.js 16 app router + Mantine 9 UI + Nextra 4
Web & App DevelopmentWhat you can do
- Next.js 16 with App Router and Turbopack
- Mantine 9 UI component library
- Nextra 4 documentation framework with Mantine theme sync
- Dark mode in sync between the documentation and the application (Mantine and Nextra)
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalMantine Next.js + Nextra template
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
One design, three engines
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.
Quick start
git clone https://github.com/gfazioli/next-app-nextra-template.git my-docs
cd my-docs
yarn install
yarn dev
Open 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.
Features
- Next.js 16 with App Router and Turbopack
- Mantine 9 UI component library
- Nextra 4 documentation framework with Mantine theme sync
- Dark mode in sync between the documentation and the application (Mantine and Nextra)
- Custom navbar and footer for the Nextra docs theme, made of Mantine components
- Pagefind search index and a server-side search API
- GitHub release notes through a small API proxy
- A landing page and a footer shared with the two sibling templates, with the versions of the stack read from
package.jsonat build time - PostCSS with mantine-postcss-preset
- TypeScript 6
- Storybook
- Jest setup with React Testing Library
- oxlint for linting and oxfmt for formatting
- Turbopack inline SVG loader turbopack-inline-svg-loader
Folder structure
app– 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:.mdxpages and_meta.tsfilesconfig– centralized site configuration (metadata, GitHub API, search);config/site.tssays which of the three templates this is
Scripts
dev– 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:build
Deploy
- Vercel (how the live demo is hosted): import the repository and deploy, no configuration needed.
yarn buildwrites the Pagefind index after the Next.js build. - Any Node host:
yarn build, thenyarn start. - Set
GITHUB_TOKENto lift the GitHub releases proxy above GitHub's anonymous rate limit.
Sponsor
Your support helps me:
- Keep the project actively maintained with timely bug fixes and security updates
- Add new features, improve performance, and refine the developer experience
- Expand test coverage and documentation for smoother adoption
- Ensure long‑term sustainability without relying on ad hoc free time
- Prioritize community requests and roadmap items that matter most
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.
Explore related projects
Loading…