App icon that springs and flips in the dock
A red app icon in the dock folds and flips its glossy 3D logo with a springy bounce, sitting between its neighbours on hover.
By Andreas Storm (@avstorm) · View original post
Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More 3d ui animations in SwiftUI →
Prompt
Build an animated app icon for a macOS-style dock in React + Framer Motion (or Rive).…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Timing
- 80ms
- Spring
- stiffness 500, damping 18
- Details
- Reduced-motion fallback · Blur
Keyframes
Six frames from the clip, left to right. Agents get this sheet as a reference with the prompt.
Questions
- How do I build the app icon that springs and flips in the dock in SwiftUI?
- 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 SwiftUI and can be rewritten for React, React Native, HTML/CSS.
- What are the motion details?
- Timing: 80ms. Spring: stiffness 500, damping 18. Details: Reduced-motion fallback · Blur.
- Who designed this animation?
- Andreas Storm (@avstorm) shared it on X. Kites Motion links back to the original post.
Similar animations
More 3d ui animations →
Dock that grows by cursor proximityHover
Confidential folder that slides out a document3D
Decorate a suitcase with stickersMicrointeraction
Plush suede button that squishes when pressedButton
Liquid glass lens over a web pageHover
3D card deck that fans and flips on hover3D
Sidebar that collapses when you drag itSpring
Bento grid with a magnetic hover highlightHover