PRO

Stretch Text Scroll

Three pinned panels whose oversized words grow on a vertical scaleY as you scroll in, snap to full height, then collapse back out. The final panel keeps scaling its word past the frame until a background still takes over, its wash fades, and a centered headline reads in word by word. GSAP ScrollTrigger with SplitText and Lenis.

Component

This space intentionally loud

Overdrive

Static

Friction

Overdrive always breaks the system

End of transmission

Install
npx shadcn@latest add https://ui.aryank.space/r/stretch-text-scroll.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
words[string, string, string]Overdrive / Static / FrictionThe three stretched panel words.
heroText / header / outroTextstringBLANK editorial linesOpening, revealed headline, and closing copy.
image / embeddedstring / booleanBLANK-hosted still / trueBackdrop for the final panel; embedded owns the scroll container.
Customize
wordstext

The three oversized panel words that stretch in and out.

heroText / header / outroTexttext

Opening line, revealed headline, and closing line.

imageasset-url

Still revealed behind the final scaling panel.

Dependencies
gsaplenis