Nine ways to animate a counting number
A board of number tiles each counting with a different style: rolling, flipping, wiping, morphing, pixel blocks and stretchy digits.
By 60fps (@60fpsdesign) · View original post
Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More text animations in React →
Prompt
Build a showcase of 9 number-count animations in React + Framer Motion (with matching SwiftUI ideas), each in a 96px rounded light-grey tile with a big bold rounded numeral, arranged 3x3 on a white page.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Timing
- 1.2s
- Spring
- stiffness 400, damping 30
- Details
- Reduced-motion fallback · 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 nine ways to animate a counting number 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?
- Timing: 1.2s. Spring: stiffness 400, damping 30. Details: Reduced-motion fallback · Blur.
- Who designed this animation?
- 60fps (@60fpsdesign) shared it on X. Kites Motion links back to the original post.
More from 60fps
All by @60fpsdesign →Similar animations
More text animations →
Editorial text that reflows around moving orbsText effect
Agent status island with pixel iconsLoader
Number flow: digits that roll between valuesText effect
Split bill that rebalances as people joinMicrointeraction
OTP input where digits roll into placeInput
Search box that finishes your questionInput
Coupon that turns into dustParticles
Numbers that flow between valuesText effect