Components · Feedback · Toast Stack
Back to Toast StackToast StackNew
Use for app-wide notifications - async results, errors, undo and loading toasts that morph into success or error.
Properties
Size, corner radius and the content options below are properties of the same component, not separate elements - change them to check this component's appearances and states in the Live Preview.
Live Preview
Every appearance side by side, each in every state. One full matrix is rendered per selected Size and Corner radius combination.
When to use
App-wide notifications and async results.
Component Guide
Overview
Toast Stack stacks short results at the screen edge until the user reaches for them. Older toasts tuck behind the front one and fan out on hover or focus.
When to Use
- App-wide notifications and async results.
- Undo and actions such as View.
- Loading toasts that update in place.
When Not to Use
- A single locally controlled confirmation - use Toast.
- Persistent inline page messages - use Alert.
- A history users revisit - use a notification centre.
Best Practices
- Render one stack inside a provider and fire toasts from anywhere.
- Keep titles short and put detail in the description.
- Update a loading toast rather than replacing it.
Accessibility
- The viewport is a labelled live region.
- Alt+T focuses the stack; Escape dismisses the focused toast.
- Each toast has a screen-reader-only type label.
Related Components
Toast, Alert, Notification.
{
"component": "Toast Stack",
"category": "Feedback",
"summary": "Toast Stack stacks short results at the screen edge until the user reaches for them. Older toasts tuck behind the front one and fan out on hover or focus.",
"whenToUse": [
"App-wide notifications and async results.",
"Undo and actions such as View.",
"Loading toasts that update in place."
],
"whenNotToUse": [
"A single locally controlled confirmation - use Toast.",
"Persistent inline page messages - use Alert.",
"A history users revisit - use a notification centre."
],
"bestPractices": [
"Render one stack inside a provider and fire toasts from anywhere.",
"Keep titles short and put detail in the description.",
"Update a loading toast rather than replacing it."
],
"accessibility": [
"The viewport is a labelled live region.",
"Alt+T focuses the stack; Escape dismisses the focused toast.",
"Each toast has a screen-reader-only type label."
],
"relatedComponents": [
"Toast",
"Alert",
"Notification"
]
}