1. Home
  2. ChevronRightMdx
  3. ChevronRightCallout

Callout

Use Callouts to highlight important information, tips, warnings, or breaking changes in your documentation.

The <Callout> component is used to draw a reader's attention to critical side-notes, tips, or warning details. It supports five color-coded and icon-labeled variants out-of-the-box.


UsageLink

<Callout variant="note" title="Important Note">
  Here is a standard notice to provide context to the user.
</Callout>

VariantsLink

Here are the five visual variants available:

Note (Default)Link

Used for neutral, supplementary explanations.

<Callout variant="note" title="Note">
  This is a neutral side-note.
</Callout>

InfoLink

Used to highlight key technical aspects or characteristics.

<Callout variant="info" title="Info">
  This explains the internal rendering mechanics.
</Callout>

TipLink

Used for best practices and efficiency suggestions.

<Callout variant="tip" title="Tip">
  Use code-splitting to reduce bundle sizes!
</Callout>

WarningLink

Used for pitfalls, deprecation notices, or conditions that need caution.

<Callout variant="warning" title="Warning">
  Keep in mind that legacy APIs might be removed in future versions.
</Callout>

DangerLink

Used for breaking changes, security warnings, or critical risks.

<Callout variant="danger" title="Breaking Change">
  Upgrading to version 2 requires schema migrations.
</Callout>

PropsLink

PropTypeDefaultDescription
variant'note' | 'info' | 'tip' | 'warning' | 'danger''note'The visual style, icon, and colors applied to the callout container.
titlestring(Variant name)Bold label shown at the top of the callout box.
childrenReactNodeThe main content or body text rendered inside the callout block.
Last updated on July 27, 2026

Was this page helpful?