MDX Docs turns MDX files into routed documentation pages with a built-in layout, sidebar, and navigation.
Create a new documentation site with:
bashnpx 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.