Logo

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

ComponentDescription
CalloutHighlight important information, warnings, or errors
Code BlockSyntax-highlighted code with copy & title support
File TreeVisualize directory and file structures
TablesStyled 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