267

Slice Transition

The image is cut into strips that slide away up and down to reveal the next one

Image & mediaSwitchIdle loopTransitionHeadline & heroGSAPGSAP stagger

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A carousel transition: the current image is cut into 6 equal vertical strips; on switching, the strips slide off the screen in sequence (about 0.06 s apart), alternating up and down, revealing the next image underneath, which slowly eases from 1.15× back to normal size. (Implementation: each strip is an overflow:hidden container holding the same image shifted left by strip width × index so they piece together into one image; GSAP tweens all strips yPercent ±110 with stagger 0.06, power3.in)

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 →