Earnings history chart that grows from a card
Tapping a small yield card expands it into a full screen where the balance rolls and green bars rise one by one; dragging scrubs the history.
By Nick Pyl (@nickpyl) · View original post
Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More chart & data animations in SwiftUI →
Prompt
Build an earnings history interaction in SwiftUI.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Timing
- 40ms
- Spring
- spring-based
- Details
- Haptics · 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.

Questions
- How do I build the earnings history chart that grows from a card 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: 40ms. Spring: spring-based. Details: Haptics · Reduced-motion fallback · Shared-element transition · 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 chart & data animations →
Dark users dashboard with an avatar clusterCards
Dashboard that dives from overview into projectsTransition
Life OS dashboard that builds itselfCards
Subway route planner on an iPad mapTransition
Dotted 3D globe with live labels and flight arcs3D
Swim tracker app storyTransition
Pricing card with gooey text morphText effect
Contribution graph that rises into a skylineChart