Component & Layout

Toast Slide-In

Also called Snackbar, Toast notification, Toast stack

A brief message slides or fades in at a screen edge, waits, then leaves; stacked toasts shift to make room.

Save confirmations, errors, undo prompts

  • slide from edge
  • stacked toasts
  • swipe to dismiss

View demo source

Prompt

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.

Add a "Toast Slide-In" (also called a snackbar or toast notification) to [where].
Each message should slide up from the screen edge and fade in, decelerating smoothly; when a new toast arrives, the ones already shown should shift over smoothly to make room.
Announce the message to screen readers without stealing focus, keep it up long enough to read, and pause the auto-dismiss on hover or focus.

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.