Fumadocs
by Fuma
Next.js / React Router docs framework with ready templates (docs layout, search, OpenAPI pages).
Page and site templates Code libraryOpen sourceminimal
2. Commercial use: raw.githubusercontent.com
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software”
MIT allows use in paid products.
raw.githubusercontent.com3. Credit the author: raw.githubusercontent.com
“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.”
No credit on screen. Keep the license notice inside the code you ship.
raw.githubusercontent.com4. Agent access: github.com/fuma-nama/fumadocs
An agent can install it by itself with npm install create-fumadocs-app. No key or account is needed.
github.com/fuma-nama/fumadocsLicense checked Nov 5, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error
Fumadocs: a docs website inside your React app
Fumadocs is a free kit for building a documentation website inside a React app, such as one made with Next.js or Astro. You write pages as Markdown files and get a ready docs layout with a sidebar, search and light and dark themes. It can also turn an OpenAPI file into API reference pages and serve your docs as plain text for AI assistants.
Where you can use it
Help pages for your product
Start a docs site for your app or library and write each page as a Markdown file. The sidebar, search and theme come ready.
Reference pages for your API
If your backend has an OpenAPI file, Fumadocs makes one reference page per request type from it, so the pages stay in step with the code.
Docs that AI assistants can read
Publish your docs as plain Markdown at /llms.txt and /llms-full.txt, so AI coding assistants can read the whole manual in one go.
Docs on plain static hosting
Build the whole docs site as ready HTML files and put it on any static host, with search running in the reader's browser.
A blog next to the docs
Add a blog with posts, tags and authors to the same site, written as Markdown files like the docs.
Docs in several languages
Offer the same docs in more than one language, with the sidebar and pages switching by language.
As reported by Fuma: Fumadocs lists OpenAPI integration as a feature it has and Nextra does not.
Fumadocs popularity
Downloads from api.npmjs.org, stars from GitHub, checked Nov 17, 2026. How the Gid Score is calculated
How to start
Tell your AI assistant
“Create a Fumadocs docs site with create-fumadocs-app 16.3.1 on Node 22+, using Next.js and Fumadocs MDX, add a Getting started page in content/docs, and turn on static export so it can be hosted as plain HTML files.”
Or install it yourself. With Node.js 22 or newer, create a new docs app and pick the framework and content source when asked.
npm create fumadocs-app
Show codeStep 1 or Step 2
Write your first page as an MDX file in the docs folder.
---
title: Hello World
---
## Yo what's up
Run the app and open the docs page in the browser.
npm run dev
Mistakes to avoid
The packages need Node 22; older Node gives Turbopack "JSON file not found" errors because require(esm) is missing.
const { loader } = require('fumadocs-core/source')import { loader } from 'fumadocs-core/source'All Fumadocs packages are ESM only.
After the change, source holds two page types and the old code breaks on OpenAPI pages.
Without renderPage only the index works.
The default setup is server-first and needs a running server.
License
MIT license. Free to use in personal and paid products, and you may change and share the code. Keep the copyright and license notice with copies of the code; no visible credit on the site is required.
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” raw.githubusercontent.com
“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” raw.githubusercontent.com
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” raw.githubusercontent.com
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” raw.githubusercontent.com
AllowedWith conditionsNot allowedNot stated or not checked yet
Is Fumadocs free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with Fumadocs. Paste them into your prompt or AGENTS.md.
- Fumadocs (Page and site templates). Next.js / React Router docs framework with ready templates (docs layout, search, OpenAPI pages). Price: free; commercial use OK; no credit needed. Style: minimal.
Connect: npm create-fumadocs-app.
Get files: npm create fumadocs-app; no account (mdx, tsx).
Not allowed: Needs Node.js
Rule: Keep the MIT copyright notice in the code if you redistribute it.
Rule: No visible credit on the site is required by the licence.
License: https://raw.githubusercontent.com/fuma-nama/fumadocs/main/LICENSE (checked 2026-11-05; details: https://agentgid.com/assets/fumadocs/)
Agent installs a package or loads it from a CDN.
npm install create-fumadocs-appFormats: mdx, tsx
Docs built with Fumadocs (MIT)Alternatives
Fumadocs This page
Pick Docusaurus for a simple React docs site with a ready docs, blog and landing template and many plugins.
Pick Nextra for a Next.js docs site or blog with a ready docs theme and a starter template.
Pick Starlight when your site runs on Astro and you want navigation, search, i18n and dark mode out of the box.
Official Bootstrap 5 example snippets and layouts: heroes, features, pricing, headers, footers, dashboards; one zip download.
Vite + Vue static site generator with a default docs theme and a home/landing layout.
Questions
Which frameworks does it work with?
Next.js, React Router, TanStack Start, Waku and Astro with React. Next.js is the makers' choice for new projects.
Can I host it without a server?
Yes. Turn on static export in Next.js and set up static search; the site is then plain HTML files and search runs in the browser.
Can I add it to an app I already have?
Yes. The docs have a manual installation guide for adding Fumadocs to an existing Next.js project.
Is it free for a paid product?
Yes. It is MIT licensed; keep the license notice with the code. No credit on the site is required.