Bento carousel of stretching cards
A SwiftUI carousel where the centred card is tall and wide and its neighbours compress into thin strips, tuned live with sliders for card size, spacing and opacity.
By Ben Olivier ᯅ (@benolivierxyz) · View original post
Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More carousel animations in SwiftUI →
Prompt
Build a compressing card carousel in SwiftUI (iOS 17+).…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Spring
- spring-based
- Details
- Reduced-motion fallback
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 bento carousel of stretching cards 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?
- Spring: spring-based. Details: Reduced-motion fallback.
- Who designed this animation?
- Ben Olivier ᯅ (@benolivierxyz) shared it on X. Kites Motion links back to the original post.
More from Ben Olivier ᯅ
All by @benolivierxyz →Similar animations
More carousel animations →
Asset carousel that swirls around a project cardCarousel
Swipeable card stack of collectionsCards
Infinite room carousel with swipe-to-expand cardsCarousel
Grocery list cards that spill their itemsCards
Resizable cards that reflow text as you dragCards
Infinite carousel of freelancer cardsCarousel
Stacked story cards that open into articlesCards
Sticker board that peels onto a to-do listMicrointeraction