Photo stack that fans into a carousel
A pile of Vienna street photos that fans apart into a horizontal carousel you can scroll through, with a scrubber timeline, and gathers back into a messy stack.
By Nick Pyl (@nickpyl) · View original post
Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More carousel animations in React →
Prompt
Build a photo stack carousel in React + Framer Motion.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Timing
- 40ms
- Spring
- stiffness 260, damping 26
- Stagger
- 40ms
- Details
- Reduced-motion fallback · Gesture-driven
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 photo stack that fans into a carousel 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?
- Timing: 40ms. Spring: stiffness 260, damping 26. Stagger: 40ms. Details: Reduced-motion fallback · Gesture-driven.
- Who designed this animation?
- Nick Pyl (@nickpyl) shared it on X. Kites Motion links back to the original post.
More from Nick Pyl
All by @nickpyl →Similar animations
More carousel animations →
Film archive with tumbling VHS coversCards
Infinite room carousel with swipe-to-expand cardsCarousel
Book cover carousel with hero zoomCarousel
Shared trip albums that open into photo gridsCards
Movie discovery app with live dataCards
Dark users dashboard with an avatar clusterCards
Pricing card with gooey text morphText effect
Flower catalogue site with a blooming carouselLanding page