Coffee mug icon that steams on hover
Hovering a 'Beverages' nav item fills the mug icon and makes little steam lines rise from it.
By erem (@eremkaragoz) · View original post
Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More hover effects in React →
Prompt
Create a sidebar nav item in React + CSS: 'Beverages' label (22px, #6b7280 at rest) with a 28px line mug icon as inline SVG.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Timing
- 350ms, 900ms, 150ms
- Spring
- spring-based
- Easing
- cubic-bezier(0.34, 1.56, 0.64, 1)
- Stagger
- 150ms
- 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 coffee mug icon that steams 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: 350ms, 900ms, 150ms. Spring: spring-based. Easing: cubic-bezier(0.34, 1.56, 0.64, 1). Stagger: 150ms. Details: Reduced-motion fallback.
- Who designed this animation?
- erem (@eremkaragoz) shared it on X. Kites Motion links back to the original post.
More from erem
All by @eremkaragoz →Similar animations
More hover effects →
Dock that grows by cursor proximityHover
Tab hover with a skewed neighbourHover
Calendar icon tear-off on hoverHover
Sidebar that collapses when you drag itSpring
Bento grid with a magnetic hover highlightHover
Browser tab whose liquid corners detach as you dragMicrointeraction
Buttons that light up before you clickButton
Steps indicator that expands to iconsMicrointeraction