266

Thumbnail Gallery

Tap a thumbnail and the big image pushes in from the side and settles, the indicator sliding to it

Image & mediaSwitchIdle loopUI interactionGSAPGSAP

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A product gallery: a large image on top and a row of thumbnails below; tapping a thumbnail pushes the new large image in from the matching direction (from the right when going forward, the left when going back) while the old one moves out slightly the other way, and the new image eases from 1.25× back to normal size for depth; the current thumbnail becomes fully opaque and the others semi-transparent, and an indicator bar below slides to line up with it; it can also autoplay. (GSAP: new image fromTo xPercent ±100 → 0, old image to xPercent ∓30, power3.inOut 0.6 s; the indicator uses CSS transform and width transitions)

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 image & media effects

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

Browse all effects →