Skip to main content

Introduction

A callout can be used to draw attention to important information or messages:

Using status colors

You can set the color attribute to danger, info, success, or warning to create status callouts:

Adding an icon to the callout

You can add an icon to a callout using the icon attribute:

Changing the color of the callout icon

By default, the icon color inherits from the callout’s color. You can override it using the icon-color attribute:

Changing the size of the callout icon

By default, the size of the callout icon is “large”. You can change it to “small” or “medium” using the icon-size attribute:

Using a custom background color

You can set a custom background color using the color attribute with any supported color:
You can add custom content to the callout footer using the footer slot:
You can also include buttons or other interactive elements in the footer:

Adding content to the controls

You can add custom content to the callout controls (top-right corner) using the controls slot:

Callouts without an icon

Callouts can be rendered without an icon if needed:

Callouts with only a heading

Callouts can be used with just a heading, without a description: