Rotary knob slider with rolling digits

A soft circular dial with a ring of tick marks: dragging around it turns the value, the ticks light up and the number in the centre rolls smoothly.

By Nitish Khagwal (@nitishkmrk) · View original post

Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More slider animations in SwiftUI →

Prompt

Build a rotary knob input in SwiftUI (or React + Framer Motion) on a white background.…

Free forever. Available for React, SwiftUI, React Native and HTML/CSS.

Build it with

Motion details

Spring
response 0.25, dampingFraction 0.8
Details
Haptics · Blur · Gesture-driven

Keyframes

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

Six keyframes from Rotary knob slider with rolling digits

Questions

How do I build the rotary knob slider with rolling digits 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: response 0.25, dampingFraction 0.8. Details: Haptics · Blur · Gesture-driven.
Who designed this animation?
Nitish Khagwal (@nitishkmrk) shared it on X. Kites Motion links back to the original post.

More from Nitish Khagwal

All by @nitishkmrk →

Similar animations

More slider animations →