Skip to content

Examples

Basic toaster

Click a button to push a toast. Info and success toasts go to the polite region, errors to the assertive one, and each auto-dismisses after five seconds — hover or focus a toast to pause its timer. Fire Stack 3 to see a burst coalesce into a single coordinated transition, then dismiss one in the middle: the survivors slide to their new slots without shimmying.

Positions

A toaster's corner is nothing more than the region's flex alignment: justify-start / justify-end picks the top or bottom edge and the region's items-start / items-end the left or right one. Here four identical toasters are anchored to the four corners — click any button to pop a toast in that corner.