Installation
Add fumandocs-ui to an existing Next.js + Fumadocs MDX project
Use this path when you already have fumadocs-core and fumadocs-mdx, or when you are migrating from the default Fumadocs UI.
Install packages
Import from fumandocs-ui/... (for example fumandocs-ui/provider/next).
Upstream Fumadocs docs
Official guides often show fumadocs-ui/.... Use fumandocs-ui/...
instead — we are not a drop-in replacement for the official Radix/Tailwind
package. See Export compatibility.
Styles
In app/global.css (or equivalent):
Remove Tailwind and PostCSS setup if you no longer need them for the docs UI.
Root layout
The styles are already pulled in by app/global.css; the layout only needs the
providers:
Docs routes
Wire DocsLayout and DocsPage from fumandocs-ui/layouts/docs — same API
shape as upstream examples where we implement it. Copy app/docs/layout.tsx and
app/docs/[[...slug]]/page.tsx from the
create-fumandocs template or from this
repo’s apps/www.
Ecosystem plugins
Packages like OpenAPI or Twoslash often import Tailwind-specific official
fumadocs-ui paths. They may need extra shims or are not supported yet with
the Mantine adapter.