Documentation MDX Components Guide
Most commonly used components for documentation writers
A practical guide for the most commonly used MDX components in BA documentation. This guide focuses on components you'll use most frequently when writing documentation.
Quick navigation#
- Essential components - Most commonly used
- Tabbed content - CodeTabs and Tabs for organized content
- Content organization - Structure and navigation components
Essential components#
These are the most frequently used components in BA docs.
Admonition#
Callouts for notes, warnings, and tips. Available types: note (default), tip, warning, caution, danger, deprecation.
Live preview:
Important
Critical information requiring immediate attention.
Note
Highlights information that users should take into account.
Pro tip
Optional information to help a user be more successful.
Information that helps users understand things better.
Steps#
Numbered step-by-step instructions split by h2 headings.
Live preview:
Get a Glass#
Take a clean glass from the cabinet or dish rack.
Turn on Tap#
Adjust the faucet to your preferred temperature and flow rate.
Fill and Drink#
Fill the glass to desired level and enjoy your water.
Tabbed content#
Components for organizing content into tabs.
CodeTabs#
Multi-language code examples with tabs.
1const { } = ('pg');2const = new ({3 : ..,4});5await .();Tabs#
General tabbed content (not just code).
Create a database using the BA Console by navigating to your project dashboard and clicking "Create Database".
Content organization#
Components for structuring and organizing page content.
DetailIconCards#
Alternative layout using DetailIconCards icons.
DocsList#
Simple, clean lists for documentation links with optional theming.
Related documentation
Best practices#
Component selection#
- Admonition for important callouts
- Steps for sequential instructions
- CodeTabs for multi-language examples
- DocsList for simple navigation lists
For specialized components and specific use cases, see the Component Specialized Guide.