Toast Stack
aka Sonner Toast · Corner Toast
Stacked transient notifications in the bottom corner. Auto-dismiss, swipe to dismiss, support success / error / info.
When to use
Confirming user-initiated actions (saved, copied, sent). Never for unsolicited push.
Anatomy
- Bottom-right (or bottom-center on mobile) anchor
- Stacks; older toasts shrink behind newer
- Icon + message + optional action / undo
- Auto-dismiss with progress, hover pauses timer
- Swipe right to dismiss on touch
How the industry does it
3 examples · credited
Prompt
Build a toast stack with Sonner or a comparable headless primitive. Anchor bottom-right on desktop, bottom-center on mobile. Each toast: 360px wide, rounded-lg, surface fill with a subtle border, leading status icon (check / x / info), message in 13.5px, optional trailing action button (e.g. 'Undo'). Auto-dismiss after 4s with a hairline progress strip along the bottom of the toast that pauses on hover. Stack new toasts in front, push older ones backward with a slight scale-down and y-offset. Swipe right (or left) to dismiss with rubber-band friction.Polish & tuning
2 of 4 unlockedMotion
Ease-out for entrance, ease-in-out for state. 200ms hover, 400–600ms layout. Stagger children at 30–60ms so groups feel intentional, not synchronized.
Spacing
Pick one scale (4 or 8) and don't mix. Section padding 96–128px desktop, 48–64px mobile. Headline sits ~24px above the subhead; subhead ~32px above the CTA cluster.