Early release: see what's supported

Docs that look like the rest of your app

docscn is a shadcn/ui registry of documentation components that work with Fumadocs.

npx shadcn@latest add @docscn/docs

Start fresh or migrate

New docs site

One command adds the components, routes, search and a first page.

npx shadcn@latest add @docscn/docs
Getting started

From Fumadocs UI

Same component names, props and module paths. Swap the import prefix.

Find and replace
import { DocsLayout }
  from "fumadocs-ui/layouts/docs";
  from "@/components/docs/layouts/docs";
Migration guide

You own the code

Components install into components/docs as source you edit like the rest of your app.

  • Your primitives and tokensBuilt on your sidebar, tabs and dialogs, styled with your theme.
  • Any content sourceData comes from Fumadocs Core, so any source Fumadocs supports works.
Your project
app/
├── api/search/      search server
└── docs/            docs routes
components/
├── docs/            docscn
│   ├── layouts/     DocsLayout, DocsPage
│   ├── components/  CodeBlock, Callout
│   ├── provider/    RootProvider
│   └── mdx.tsx      MDX defaults
├── ui/              your shadcn/ui
└── mdx.tsx          your MDX components
content/docs/        your pages
lib/
├── layout.shared.tsx
└── source.ts        content source

Write docs, not docs components