Badge
Compact read-only status or category pill set by the system.
Inline status banner that stays on the page.
Status message that stays on the page until it is fixed or dismissed. Not a toast.
Info on the page, with the tinted fill. Variants shows each tone.
Heads up
Invoices export overnight. You will get an email when the file is ready.
Put it above the part of the page it is about. It stays until the problem is fixed or dismissed. Use Toast after an action, Badge for a compact chip and AlertDialog when they must choose.
import { Alert } from "agentic-ds-kit";From contracts/alert.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| variant | info | success | warning | danger | No | info | — |
| title | string | No | — | — |
| children | string | No | — | Optional: leave it out when the title says it all, like an error summary. |
| placement | inline | page | No | page | page: tinted fill, for a problem that affects the whole page or account; put it above the content it is about. inline: neutral card surface with the status shown by the icon, for something in one part of the page. The header (tone word, eyebrow, timestamp, Dismiss) always shows on inline; on page it shows when eyebrow, timestamp or onDismiss is set. |
| eyebrow | string | No | — | Short context word after the tone word in the header, like Billing in Warning · Billing. |
| timestamp | string | No | — | Preformatted time on the right of the header, like Nov 20 or 09:41. |
| action | object | No | — | One kit Button under the text. page: solid primary (counts as the view's one primary), or outline neutral with appearance "outline" when the page already has its primary (an error summary above a form with Save). inline: outline neutral. |
| secondaryAction | object | No | — | kit Button outline neutral, after action. |
| onDismiss | function | No | — | () => void. Shows a Dismiss kit Button on the right of the header. Leave it out while the problem is still real. |
Compact read-only status or category pill set by the system.
Dismissible overlay for short tasks, forms, or extra detail.
Must-choose overlay that interrupts until the user cancels or confirms.
A recommended insight or opportunity as a compact card, with tone and optional actions.