MDX Components
Enhance your documentation with built-in MDX components.
Docstra provides several built-in components that you can use directly in your MDX files to create a more engaging and informative experience.
Each component has its own dedicated page with full usage examples, props reference, and live previews.
Components
| Component | Description |
|---|---|
| Callout | Highlight important information, warnings, or errors |
| Code Block | Syntax-highlighted code with copy & title support |
| File Tree | Visualize directory and file structures |
| Tables | Styled markdown tables that fit the Docstra theme |
Head over to the Components section for individual documentation pages for each component.
How is this guide?
Last updated on March 30, 2026