UI Components
mdxui
Component libraries and renderers for MDX
mdxui
Render MDX to any format with customizable component libraries.
What is mdxui?
mdxui provides output renderers and component libraries for MDX documents:
- Multiple Formats - HTML, JSON, Markdown, and more
- Component Libraries - Pre-built UI components
- Customizable - Extend and override components
- Consistent - Same content, multiple outputs
Features
- Format Flexibility - Render to any output format
- Design Systems - Integrate with shadcn/ui
- Serialization - JSON output for APIs
- Round-Trip - Convert between formats
Renderers
| Package | Output | Description |
|---|---|---|
| @mdxui/html | HTML | Static HTML rendering |
| @mdxui/json | JSON | Structured data output |
| @mdxui/markdown | Markdown | Convert back to Markdown |
| @mdxui/shadcn | React | shadcn/ui components |
Installation
Or install specific renderers:
Quick Example
Architecture
Use Cases
Static Site Generation
API Responses
Design System Integration
Next Steps
- Getting Started - Set up mdxui
- HTML Renderer - Static HTML output
- shadcn Components - React component library