MDX Docs

MDX Docs

Build beautiful documentation sites with MDX, React, and Material UI.

Get StartedGitHub

MDX Docs turns MDX files into routed documentation pages with a built-in layout, sidebar, and navigation.

Create a new documentation site with:

bash
npx create-mdx-docs@latest my-docs

Features

MDX pages

Write Markdown with embedded React components.

Syntax highlighting

Code blocks with copy-to-clipboard built in.

Dark / light mode

System preference detection out of the box.

Responsive sidebar

Navigation generated automatically from your pages.

Modern stack

Built on React 19, Material UI 7, and Vite.

Zero config

Drop in MDX files and they become routes.

See the Getting Started page for more details, or browse the Examples to see Material UI components rendered inside MDX.