On this page

Callouts

Highlight notes, warnings, and tips in MDX with Mantine-styled callouts

Callouts draw attention to important information. They map to Mantine Paper with a colored accent bar and work in any MDX page.

Types#

Info

Use for neutral context or background information.

Warning

Use when something might break or needs caution.

Error

Use for mistakes, deprecations, or hard failures.

Success

Use when confirming a step worked or a recommendation is safe.

Idea

Use for tips, shortcuts, or optional improvements.

In your MDX#

<Callout type="info" title="Heads up">
  Your content here.
</Callout>

The warn type is normalized to warning internally, so both spellings behave the same.

Styling#

Callouts are styled with CSS Modules on top of Mantine surfaces, so they stay readable in light and dark mode without Tailwind.