Split bill that rebalances as people join
A split-bill screen where you add or remove friends from an avatar row and every share recalculates with rolling numbers.
By Divan Raj (@desdivj) · View original post
Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More micro-interactions in SwiftUI →
Prompt
Build a 'Split bill' screen in SwiftUI.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Spring
- spring-based
- Details
- Haptics · Reduced-motion fallback · Shared-element transition · 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 split bill that rebalances as people join 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: Haptics · Reduced-motion fallback · Shared-element transition · Blur.
- Who designed this animation?
- Divan Raj (@desdivj) shared it on X. Kites Motion links back to the original post.
More from Divan Raj
All by @desdivj →Similar animations
More micro-interactions →
OTP input where digits roll into placeInput
Search box that finishes your questionInput
Editorial text that reflows around moving orbsText effect
Feedforward AI chat that shows what it will assumeInput
Checkout that reads frustration from the cursorInput
Agent status island with pixel iconsLoader
Custom select that spins like a wheelInput
AI voice input with a living glowInput