Skip to content

Callout

Callout highlights information that a reviewer must read even when skimming. Callouts can be used to share a note, tip, warning or danger.

All four callout types rendered in the viewerAll four callout types rendered in the viewer

See the types for guidance on when to use the Callout.

Do not use a Callout for ordinary supporting detail that does not need to interrupt a skim. Overusing callouts makes the truly important information harder to spot.

There are countless use cases of when it’s worth calling out information to a user, but here are some concrete ones:

  • Warn a user about data-loss dangers
  • Call out important sequencing
<Callout type="warning" title="Deploy ordering">
Enable the worker before stale reads.
</Callout>
Attribute Type Required Behavior
type "note" | "tip" | "warning" | "danger" Yes Selects the accent palette, the icon, and the default title.
title string No Header text; defaults to Note, Tip, Warning, or Danger by type.

Any other attribute is a positional authoring error.

Children are ordinary Markdown and keep every pipeline behavior: headings receive anchors, fenced code keeps syntax highlighting, and tables keep their scroll containers. Level-two headings inside a callout still join the document’s table of contents.

Type Icon Intended use
note info A relevant aside.
tip lightbulb Information that may be of use.
warning triangle-alert Something that will go wrong if ignored.
danger octagon-alert Irreversible or destructive consequences.