343

Long-press Quick Menu

Long-press a list row: it presses down, then lifts and grows as the background blurs and a quick action menu pops out beside it

Card & groupHover & clickSwitchApp UIUI interactionGSAPApp · Long press

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A message list on a phone screen (avatar, name, last message, time). When a finger holds a row, the row slowly shrinks to 0.96 over about 0.45 s as if pressed; when time is up it springs up to 1.04, becomes a white rounded card with a shadow and lifts, while the rest of the screen gets a blurred, dimmed overlay. Below the lifted row (or above it for rows near the bottom) a rounded quick action menu pops out from the corner nearest the row (Reply, Pin, Mark as read, and a red Delete, each with a line icon on the right), scaling from 0.3 to full size with a bounce while the options fade in one after another. Tapping an option briefly darkens it, then everything closes; tapping the blurred background also closes it: the menu shrinks and fades, the background clears and the row settles back. Releasing before 0.45 s only gives a small rebound. When idle it demonstrates a long-press on its own. (GSAP: the press is scale 0.96 with power1.in; the lift uses back.out(3); the menu's transform-origin sits at the corner near the row with back.out(1.5); the backdrop is backdrop-filter blur plus a translucent fill)

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 card & group effects

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

Browse all effects →