Callout
A callout sets something apart from the text around it: a note, a tip, a warning. Its type sets its color and icon.
<Callout type="warning">
Deleting a project also deletes its API keys.
</Callout>With a title
Test keys start with sk_test_ and never move real money. Switch to live keys when you’re ready.
<Callout type="tip" title="Use test mode first">
Test keys start with `sk_test_` and never move real money. Switch to live keys when you're ready.
</Callout>A callout with a title gets an anchor, so you can link to it: #use-test-mode-first.
The title can hold code or bold text, written as markup: title={<>Use <code>sk_test_</code> keys</>}.
Your own icon and color
icon and color make a callout of your own. Its border, background and title are tinted from color:
Keep keys on your server - never in an app or a web page.
<Callout icon="key" color="#d97706" title="API keys">
Keep keys on your server - never in an app or a web page.
</Callout>Shorthands
Each type has a component of its own, with the type already chosen. These are the names Mintlify uses, so callouts in pages written for Mintlify work as they are:
| Component | Is the same as |
|---|---|
<Note> | <Callout type="note"> |
<Info> | <Callout type="info"> |
<Tip> | <Callout type="tip"> |
<Warning> | <Callout type="warning"> |
<Danger> | <Callout type="danger"> |
<Check> | <Callout type="check"> |
<Warning>Deleting a project also deletes its API keys.</Warning>
<Check title="You're set up">Your first page is live.</Check>A shorthand takes title and className only - icon and color are ignored. For those, use Callout.
Content
A callout holds any Markdown - lists, code, links - and other components:
- Node.js 22 or newer
- An API key - see Quickstart
node --versionProps
The callout’s color and icon.
A bold title above the content. Without it, the icon sits next to the first line.
An icon in place of the type’s - any icon.
Any CSS color, in place of the type’s. The border, background, icon and title are tinted from it.
Use callouts sparingly: when every other paragraph is a callout, readers skip them all. For a short aside in a sentence, use a Hint.