When to use
Use for status the user should not miss while staying on the page.
Find components, patterns, tokens, and docs
Documentation
Alerts persist in the layout until the condition is resolved or dismissed.
Place near the content they describe. Don't stack several competing alerts.
Appearance is not enough. This is the contract for when the control earns a place in the product.
Use for status the user should not miss while staying on the page.
Use toast for transient confirmation. Use modal only when work must stop.
Surfaces important status without hijacking the entire viewport.
role=alert or status depending on urgency. Don't rely on color alone.
<Alert
variant="success"
size="medium"
>
Your billing address was updated.
</Alert>