GitHub

Components

Callout

Highlight important information

Callouts highlight important information in your documentation.

Types

Info

Info

This is an informational callout. Use it for general information and tips.

<Callout type="info">
  This is an informational callout.
</Callout>

Warning

Warning

This is a warning callout. Use it for important notices.

<Callout type="warning">
  This is a warning callout.
</Callout>

Tip

Tip

This is a tip callout. Use it for helpful tips and best practices.

<Callout type="tip">
  This is a tip callout.
</Callout>

Danger

Danger

This is a danger callout. Use it for critical warnings.

<Callout type="danger">
  This is a danger callout.
</Callout>

Custom Title

Custom Title

You can provide a custom title for any callout type.

<Callout type="info" title="Custom Title">
  Content with custom title.
</Callout>

Props

type'info' | 'warning' | 'tip' | 'danger' | 'note'default: 'info'

Callout type which determines the icon and color scheme

titlestring

Custom title (defaults to the type name)