092
Scroll Reveal
Fades in on scroll with a synced progress bar
This effect uses fixed demo content, so custom text isn’t applied.
Hannah's Motion Library
Web motion effects × AI prompts
AI prompt
In a scrollable area, a progress bar at the top fills with the scroll position, and each block of text fades in from the left when it reaches 85% of the viewport, fading back out when scrolling back up. (GSAP: ScrollTrigger toggleActions "play none none reverse", progress bar with scrub:true)
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
- Tap “Copy AI prompt”.
- 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).
- The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.
More layout & page effects
346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts
Browse all effects →