219

Masonry Cascade

Masonry cards of varying heights drop into place row by row with a slight tilt

Card & groupEnterUI interactionHeadline & heroGSAPStagger

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A masonry gallery entrance: three columns of cards with varying heights drop one by one from about 30px above in reading order (top to bottom, left to right), each with a slight random rotation and fading in, bouncing a little as it lands (about 0.09 s apart), as if the gallery were laid out piece by piece. (GSAP: sort cards by row and column index, then stagger 0.09, fromTo y:-30 / opacity:0 / rotation:random(-6,6) → 0, ease back.out(1.4); on a real site lay it out with CSS columns or a masonry library)

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 →