Skip to content
Projects

gfazioli/next-app-nextra-template

View on GitHub

About

Template for Next.js 16 app router + Mantine 9 UI + Nextra 4

Web & App Development

How these counts are measured

What 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

Original

Mantine Next.js + Nextra template

next-app-nextra-template at a glance, refreshed daily: commits, releases, stars, issues and pull requests, a year of commit activity, the weekly rhythm, languages, latest commits and releases, contributors
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

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

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…