Callouts
How to use callout components to highlight important information.
Callouts
Callouts (also known as admonitions) draw attention to important information. Use them for tips, warnings, notes, and more.
Basic Usage
Callouts are MDX components. Use them in your notes like this:
<Callout type="note">
Your content here.
</Callout>
Available Types
Note
For general information and side notes.
Wiki-links are resolved case-insensitively, so the same note can be referenced regardless of capitalization.
Tip
For helpful suggestions and best practices.
Use descriptive note titles. They make wiki-links more readable and help with search.
Warning
For important caveats or things to watch out for.
Private notes (with private: true in frontmatter) are completely excluded from the build output.
Danger
For critical warnings that could cause problems.
Never edit files directly in the src/generated/ directory. They are overwritten on each build.
Info
For additional context or background information.
Callouts support an optional title prop. Without it, only the icon is shown.
Custom Titles
Add a title prop to customize the callout header:
<Callout type="tip" title="Pro Tip">
Custom titles make callouts more specific.
</Callout>
Nested Content
Callouts can contain any Markdown content: