Skip to content
New Project
Templates
Template name
Templates

MantineUI + Nextra

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

DeployView Demo
This is an auto-uploaded thumbnail from https://vercel.com/templates/submit.
Owner
  • gfazioli
Repository
  • next-app-nextra-template
Use Cases
  • Documentation
Stack
  • Next.js
  • CSS Modules
DeployView Demo

Mantine 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

 
 ❤️ If this template has been useful to you or your team, please consider becoming a sponsor 
 

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

TemplateEngineLive demo
Mantine Next.js + Docs@next/mdx: no docs framework, every piece of the interface a Mantine componentnext-app-mantine-docs-template.vercel.app
Mantine Next.js + Nextra (this one)Nextra 4 and its docs theme, with Mantine wired innext-app-nextra-template.vercel.app
Mantine Next.js + Fumadocsheadless fumadocs-core under a docs UI built 100% with Mantinenext-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.json at 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 routes
  • components – shared components (usable in both documentation and application)
  • components/Home – the landing page, section by section
  • content – the docs: .mdx pages and _meta.ts files
  • config – centralized site configuration (metadata, GitHub API, search); config/site.ts says which of the three templates this is

Scripts

  • dev – the dev server
  • build – the production build, then the Pagefind index
  • analyze – bundle analysis with @next/bundle-analyzer
  • test – typegen, formatting, lint, types and Jest
  • typecheck, lint, jest, jest:watch, format:test, format:write
  • storybook, storybook:build

Deploy

  • Vercel (how the live demo is hosted): import the repository and deploy, no configuration needed. yarn build writes the Pagefind index after the Next.js build.
  • Any Node host: yarn build, then yarn start.
  • Set GITHUB_TOKEN to lift the GitHub releases proxy above GitHub's anonymous rate limit.

Sponsor

 
 ❤️ If this template has been useful to you or your team, please consider becoming a 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.

Related Templates

  • Nextra: Docs Starter Kit thumbnail

    Nextra: Docs Starter Kit

    Simple, powerful and flexible markdown-powered docs site. Built with Next.js.

License
  • View License