Text Animations

Word Reveal

A scroll-scrubbed word reveal — each word brightens and rises as it enters the viewport, tied directly to scroll position.

Install

bun add gsap

Props

PropTypeDefaultDescription
staggernumber0.05Offset between successive words along the scrub.
yOffsetnumber30Rise distance per word.
fromOpacitynumber0.1Resting opacity of unrevealed words.
scrubnumber1Smoothing lag between scroll and reveal.
ease"power1.out" | "power2.out" | "power3.out" | "none""power2.out"Reveal easing along the scrub.

What It Demonstrates

Scroll reveal
Elements fade or slide into place as they enter the viewport.
Scroll-driven animation
An animation whose progress is tied directly to scroll position.
Stagger
Animate several items one after another with a small delay between each, creating a cascade.
Reveal
Content is uncovered gradually, often by animating a clip-path or mask.

Related Components

Appears In