Rotary Knob
Drag the knob to any angle; the ticks light up with the value as the number smoothly follows
This effect uses fixed demo content, so custom text isn’t applied.
Hannah's Motion Library
Web motion effects × AI prompts
AI prompt
A skeuomorphic round knob: a thin knurled ring around the edge, a slightly recessed cap in the middle and a small glowing indicator dot on top; around the knob is a ring of 31 ticks running from −135° at the bottom left to 135° at the bottom right, leaving a 90° gap at the bottom, with the current value and a small label below. Press the knob (or anywhere on the tick ring) and drag around it, and the knob turns to the pointer's angle, mapped to 0–100; dragging through the bottom gap stops at the nearer end so it never jumps from 100 to 0. The displayed value catches up to the target with a smooth ease-out, and ticks light up from the start to the current value with a slight glow. Hovering the knob scales it up slightly and pressing shrinks it slightly. After a few idle seconds it turns to a random value on its own as a demo. (Angle = atan2(dx, −dy), with straight up as 0° and clockwise positive; each tick is placed on the arc with rotate and transform-origin at the center)
When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.
How to use it
- Tap “Copy AI prompt”.
- Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
- The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.
More form & control effects
346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts
Browse all effects →