Components
A comprehensive guide to all custom components available in the MDX documentation.
Blockquote
Example of a blockquote:
This is a blockquote with the blue info icon. It's useful for highlighting important information or quotes.
Accordion
Here's an interactive accordion:
Here's how to create the accordion above:
Tabs
Here's an example of tabs in action:
Example Component
This is a preview of a React component
Here's the code to create these tabs:
File Explorer
Here's a file system explorer:
Create this file explorer with:
Card Components
Here's a card component example:
This is the main content area of the card. You can put any content here.
Footer content goes here
Create cards using this code:
Alert Components
Here's an alert example:
Heads up!
This is how an alert looks. Use it to show important messages to your users.
Destructive variant:
Heads up!
This is how an alert looks. Use it to show important messages to your users.
Create alerts with:
Callout Components
Here's a callout example:
Pro tip
Callouts are perfect for highlighting important information, tips, or warnings in your documentation.
Warning
This is a warning callout. Use it to alert users about potential issues or things to watch out for.
Error
This is a danger callout. Use it to highlight critical errors or important warnings that require immediate attention.
Note
This is an info callout. Use it to provide additional context or helpful information to your users.
Create callouts using:
Steps Component
Here's how to create step-by-step guides:
Clone the repository
Install dependencies
Start the development server
Create steps using:
Code Components
Here's a code block with syntax highlighting:
Wrap code blocks with additional styling:
Example usage of Wrapped Code Block:
Utility Components
Here's a linked card example:
Getting Started →
Learn how to get started with our documentation components.
Create linked cards using:
Zoomable Images
The ZoomableMedia
component allows images to be clicked and zoomed in for better viewing:
Create zoomable images using: