Feedback
Alert
An inline, persistent message. Pair a title with a short description; the variant carries the tone.
Purpose
An alert stays until the situation changes, which is what separates it from a Toast. Put it next to the thing it is about.
Tones
Heads up
Your next premium statement is ready to review.
Claim submitted
We have received your claim and will process it shortly.
Approaching your limit
You have used 80% of your outpatient entitlement this year.
Payment failed
We could not process your last payment. Please update your details.
Scheduled maintenance
The portal will be unavailable on Sunday between 02:00 and 04:00.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
withIcon | boolean | undefined | true | Show the leading status glyph. |
variant | "info" | "success" | "warning" | "destructive" | "neutral" | null | undefined | — | — |