Swap widget from quote to completed trade
A crypto swap card that flows from typing an amount to a review quote, a pending countdown ring and a green 'Transaction completed' state.
By Jakub Antalik (@Jakubantalik) · View original post
Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More card animations in React →
Prompt
Build a token swap flow in React + Framer Motion.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Spring
- stiffness 380, damping 34
- 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 swap widget from quote to completed trade 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?
- Spring: stiffness 380, damping 34. Details: Reduced-motion fallback.
- Who designed this animation?
- Jakub Antalik (@Jakubantalik) shared it on X. Kites Motion links back to the original post.
More from Jakub Antalik
All by @Jakubantalik →Similar animations
More card animations →
Transfer modal with a glowing processing stateTransition
Dark users dashboard with an avatar clusterCards
Pricing card with gooey text morphText effect
Dashboard that dives from overview into projectsTransition
Report that reflows as you drag its edgeTransition
Moodboard canvas that zooms into each itemTransition
Life OS dashboard that builds itselfCards
Overdue invoices sheet that sends remindersMicrointeraction