🧨Pre-releaseYou shouldn't use this library-1 min read

Callout

Bring something to the attention of your users with the <Callout />
component.

Demo

The Callout
component is used to bring something to the attention of your users. It's a versatile component that can be used in a variety of ways.

Fetching demo

Variants

Note

The note
variant is the default variant you see in the demo above.

Fetching demo

Tip

Offer small bits of helpful information to your users with a tip. Tips will display as a light bulb by default.

Fetching demo

Warning

Callouts are a great way to warn users before they do something that they might not actually want to do. A warning will display as yellow with the flag icon by default.

Fetching demo

Customisation

Change and disable the icon

Nitpick may be opinionated, but it's not cruel. You can adjust the icon with the icon
prop, and disable it altogether by using disableIcon
.

Fetching demo

Full customisation

You can of course use the standard rootClassName
prop to add your own custom styles to the Callout
component.

Fetching demo
Made by .