Skip to content

Callout

Callouts are used to display related content or status information.

Usage

Callouts can be used to display non-urgent information such as a status, related content, or context-specific help. Callouts are used to highlight information amongst other content.

Text content

Callouts do not have their own text styles, you can use typography components such as P directly inside them.

  • Never put plain text directly inside a Callout
  • Always use typography components

Form guidance

Unlike the Notification and Error Summary components, callouts should not be used to display form submission errors or any information that requires the user's immediate attention.

  • Never use Callout to display form errors

Variations

Callouts will use the "info" variant by default, but you can use the available variants with the variant prop.

With icon

Callouts can show an icon to the left by using the icon prop. See the Icon Component for adding additional icons.

In Figma when changing the icon remember to update the colour to match the variant.

Custom Variant

Custom variants can be defined in your theme using the variants property.

Properties

NameValuesDefault

variant

infosuccesserrorwarning

info

icon

IconName

...

JSX.IntrinsicElements["div"]

Tokens