Stacked toasts that expand on hover

Toasts stack at the bottom of the page; hovering spreads them out, and new ones push in smoothly with View Transitions.

By Junior García (@jrgarciadev) · View original post

Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More card animations in React →

Prompt

Build stacked toast notifications in React using the View Transitions API.…

Free forever. Available for React, SwiftUI, React Native and HTML/CSS.

Build it with

Motion details

Details
Reduced-motion fallback

Keyframes

Six frames from the clip, left to right. Agents get this sheet as a reference with the prompt.

Six keyframes from Stacked toasts that expand on hover

Questions

How do I build the stacked toasts that expand on hover in React?
Copy the Kites Motion prompt for this clip (free account) and paste it into Claude Code, Cursor or Codex, or send it there in one click. The prompt describes the layout, timing and interactions, and links a keyframe sheet so your agent can match the motion. It is written for React and can be rewritten for SwiftUI, React Native, HTML/CSS.
What are the motion details?
Details: Reduced-motion fallback.
Who designed this animation?
Junior García (@jrgarciadev) shared it on X. Kites Motion links back to the original post.

Similar animations

More card animations →