Use alert() for concise system status banners and callout() for rich Markdown-formatted notes, tips, or warnings.
alert()
callout()
<ComponentPreview title="Alert & Callout Variants">
[
{"type": "alert", "variant": "success", "title": "System Healthy", "message": "All background workers and WebSocket gateways are online."},
{"type": "alert", "variant": "warning", "title": "Rate Limit Approaching", "message": "85% of your hourly token quota has been used."},
{"type": "callout", "variant": "info", "title": "Pro Tip", "content": "Use style: app in app.yaml to enable the React shell and Notification Center."}
style: app
app.yaml
]
</ComponentPreview>
<Tabs>
<Tab title="Python">
</Tab>
<Tab title="YAML">
</Tabs>
| Component | Parameter | Description |
|---|---|---|
| alert | message, variant, title | Plain-text alert banner (info, success, warning, error). |
alert
message
variant
title
info
success
warning
error
| callout | content, variant, title | Highlighted box whose content renders sanitized Markdown. |
callout
content