Component Library

Fern | Highlight content with the Callout component

The Callout component is used when you want to visually highlight important content for the user. There are different props available to design callout component properly.

Note: it is helpful to add a <br /> after the callout component to ensure that the next component is not too close to the callout.

Callout Prop:

intent: ‘info’ | ‘success’ | ‘warn’

Info

This is an info callout.


info
1<Callout intent="info">
2This is an info callout.
3</Callout>

Success

This is a success callout.


success
1<Callout intent="success">
2This is a success callout.
3</Callout>

Warning

This is a warn callout.


warn
1<Callout intent="warn">
2This is a warn callout.
3</Callout>