Speed Docs
Writing

Callout

You can render callouts in your documentation by using the Callout component.

callout.mdx
---
title: Callout
---

<Callout type="warn" title="Warning">
  This is a warning callout
</Callout>

<Callout type="info" title="Info">
  This is an info callout
</Callout>

<Callout type="success" title="Success">
  This is a success callout
</Callout>

<Callout type="error" title="Error">
  This is an error callout
</Callout>

which will be rendered as:

Warning

This is a warning callout

Info

This is an info callout

Success

This is a success callout

Error

This is an error callout