Insights cards that expand into a sheet

A health app's Insights screen where tapping the blue 'Good Days' card expands it into a full-screen gradient page with a list of personal insights.

By Adrian (@adriankuleszo) · View original post

Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More screen & page transitions in SwiftUI →

Prompt

Build an insights card expansion 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 · Shared-element transition · Gesture-driven

Keyframes

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

Six keyframes from Insights cards that expand into a sheet

Questions

How do I build the insights cards that expand into a sheet 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 · Shared-element transition · Gesture-driven.
Who designed this animation?
Adrian (@adriankuleszo) shared it on X. Kites Motion links back to the original post.