337

Reaction Picker

Hover the like button and a row of reactions pops up; hovered ones grow with a label, and the picked one flies into the button

ButtonHover & clickSwitchUI interactionApp UIGSAPLike · Reactions

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A like button under a social post (a pill button with an icon and text). After the cursor rests on it for about 0.25 s, a pill-shaped reaction bar pops up above it, with six reactions (Like, Love, Haha, Wow, Sad, Angry) springing up from below one by one from left to right with a bounce. Hovering a reaction grows it to about 1.6× and lifts it, with its neighbors growing slightly and the others shrinking slightly, like a dock, and a small dark name label appears above it. Clicking a reaction closes the bar while a copy of that reaction flies along an arc into the button's icon spot and shrinks; when it lands the button shows that reaction and its name, the text turns the accent color, and it pops with a spring. Clicking the button directly likes or unlikes; on touch devices tapping the button opens or closes the bar. About 0.35 s after the cursor leaves, the bar fades away. When idle it demos itself: open, slide from the left to a reaction, pick it, then reset after a few seconds. (GSAP: the bar fromTo autoAlpha and scale with back.out; reactions pop in with stagger 0.045 s; in flight, x uses power1.inOut and y back.in to form the arc)

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

  1. Tap “Copy AI prompt”.
  2. 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).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More button effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →