Callouts
Highlight supporting information with a title and semantic color.
On this page
Usage
md
title: Documentation for your project
description: Everything you need to get started.
links:
- label: Get started
to: /getting-started/introduction
Use callout to choose a semantic color explicitly, or use one of the variants below for a fixed color. All callouts accept Markdown in their default slot.
Note
md
pnpm install
pnpm dev
pnpm check
pnpm build
Tip
md
::tip{title="Tip"}
Keep setup instructions close to the example they explain.
::
Warning
md
::warning{title="Warning"}
Review your configuration before publishing the site.
::
Caution
md
::caution{title="Caution"}
Back up content before deleting files.
::
Props
| Component | Color | Props |
|---|---|---|
callout | info by default; also success, warning, destructive | Optional title and color |
note | info | Optional title |
tip | success | Optional title |
warning | warning | Optional title |
caution | destructive | Optional title |
Use a title to summarize the message. Keep supporting detail in the Markdown body.