Open Source · MIT Licensed

shadcn for
documentation.

A headless docs framework with a namespaced registry for UI components and plugins. Install source, not packages.

npx create-document0
Namespaced registryUI componentsMDX pluginsZero lock-in

One command. Any namespace.

Teams publish UI components and plugins under their namespace. Install source code directly into your project.

Terminal — zsh

Drop files.
Get everything else.

Your content lives as MDX files in your repo. document0 turns them into page trees, navigation, search indexes, and highlighted code, ready for whatever UI you build.

app/docs/[[...slug]]/page.tsx
import { DocsSource } from "@document0/core"
import { processMdx } from "@document0/mdx"

const source = new DocsSource({
  rootDir: "./content/docs",
})

const page = source.getPage("quickstart")
const { code, toc } = await processMdx(page.raw)
content/docs
Explorer
_meta.json
index.mdx
installation.mdx
quickstart.mdx
guides
theming.mdx
plugins.mdx
api-reference
core.mdx

Everything you need.
Nothing you don't.

Headless by design

No CSS shipped. No layout opinions. You bring the UI. We power everything behind it.

Full-text search

Orama-powered search built in. Index at build time, query instantly at runtime.

Shiki highlighting

VS Code-quality syntax highlighting at build time. Multi-theme, zero client JS.

LLMs.txt ready

Auto-generated llms.txt so AI assistants can understand your documentation natively.

Framework agnostic

Works with Next.js, Astro, Remix, or anything that can import a function.

Don't keep fighting your
docs framework when you can
build without limits.