Callouts

Callouts are highlighted boxes that make important information stand out. They're perfect for showing warnings, tips, or any message you want readers to notice. Each type has its own color and style to help convey the right tone.

PropertiesCopied!

typeCopied!

CalloutType required

The type of callout: neutral, success, danger, warning or info

iconCopied!

string optional

A custom icon to display in the callout. Uses Scalar icon format. If not provided, the component will use the default icon for the specified callout type.

ExamplesCopied!

Basic CalloutCopied!

This is an informational message.
<scalar-callout type="info"> This is an informational message. </scalar-callout>

Callout with Custom IconCopied!

Operation completed successfully!
<scalar-callout
  type="success"
  icon="check-circle">
  Operation completed successfully!
</scalar-callout>