Toast
A short message that confirms something happened.
Theme set to dark
Live preview · click to try it
Variants
4 named variants. Layer names match the names below.
Theme set to dark
InfoToast / Info
Saved
SuccessToast / Success
Couldn’t send
ErrorToast / Error
Copied · Undo
With ActionToast / With Action
States
Theme set to dark
Toast / Entering
Theme set to dark
Toast / Shown
Theme set to dark
Toast / Leaving
Usage
Do
- Copied, sent, saved, theme switched.
Don't
- Errors people must fix; show them inline.
Properties
| Property | Type or options | Default |
|---|---|---|
| Variant | Info · Success · Error · With Action | Info |
| Title | String | Copied to clipboard |
| Action | String | None |
Styles it uses
Surface/InverseInk/InverseState/SuccessState/ErrorAccent/Acid
Text: Body · Button S
Accessibility
- Keyboard reachable with a visible 3px State/Focus ring.
- Interactive parts use real buttons and links with accessible names.