118

Toast Stack

Notifications pop in and stack at the bottom right, then slide away

Card & groupEnterExitUI interactionNumbers & dataCSSToast

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

When an action completes, a notification pops up at the bottom right (a round check icon on the left, the message in the middle, “just now” on the right), entering from below with a springy scale; new notifications stack below and push older ones up. Up to 3 show at once; each slides out to the right and fades after about 3.4 s, and the rest move smoothly into place. (CSS + JS: the notification wrapper uses display:grid with grid-template-rows 1fr→0fr to collapse its height so the reflow is smooth; entrance uses translateY + scale keyframes; on exit add an .out class, then remove the element)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More card & group effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →