Pill button whose label scribbles on hover
A set of button variants (default, alt, long, link, link inverted) where hovering draws a quick hand-drawn underline or loop and the label nudges, each with its own tuned easing.
By Eduard Bodak (@eduardbodak) · View original post
Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More button animations in React →
Prompt
Build a family of animated buttons in React + CSS on a deep plum background #2b0a1e.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Timing
- 250ms, 320ms, 90ms
- Easing
- cubic-bezier(.65,0,.35,1)
- Scale
- 1.03, 0.97
- 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 pill button whose label scribbles on hover 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: 250ms, 320ms, 90ms. Easing: cubic-bezier(.65,0,.35,1). Scale: 1.03, 0.97. Details: Reduced-motion fallback.
- Who designed this animation?
- Eduard Bodak (@eduardbodak) shared it on X. Kites Motion links back to the original post.
More from Eduard Bodak
All by @eduardbodak →Similar animations
More button animations →
Buttons that light up before you clickButton
Liquid metal buttons that reflect the cursorButton
Button anatomy that measures itself on hoverButton
Sidebar item whose coupon tears offHover
Combination-lock icon unlocks on hoverMicrointeraction
Dock that grows by cursor proximityHover
Checkout that reads frustration from the cursorInput
Bento grid with a magnetic hover highlightHover