305

Page Flip Book

Tap a page to flip it left around the spine in 3D, then all pages flip back to the start

Card & groupSwitchUI interactionHeadline & heroGSAPGSAP 3D

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

Like a book: a stack of pages on the right, each with an image and page number on the front; tapping flips the top page left around the spine on the left in 3D space (about 0.9 s, ease-in-out), showing the page's angle halfway through and its back once turned; after flipping through every page, all pages quickly flip back to the first one in turn. (CSS 3D: each page transform-origin:left, transform-style:preserve-3d, both faces backface-visibility:hidden with the back rotateY(180deg); GSAP tweens rotationY 0 → −180, adjusting z-index while flipping so turned pages stack on top)

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 →