Draft. Ported from the shadcn-vue Toast and restyled with Beehexa tokens. Not yet approved; the API may still change.
A short message that appears in a corner after an action, then goes away.
When to use
- Confirming an action that has no other visible result: “Order exported.”
- A background task finishing.
When not to use
- Errors people must fix. Show them next to the field or in an Alert.
- Anything people must read later. A toast goes away.
Tokens
| Part | Tokens |
|---|---|
| Surface | color.surface.overlay, radius.overlay, elevation.shadow.overlay |
| Width | toast.width (360 px) |
| Icons | color.icon.{role} at size.icon.default |
| Layer | z-index.toast |
| Timing | motion.wait.toast; with an action motion.wait.toast.action |