PRO

Interlock Title Scroll

Full-bleed titles that assemble themselves as they enter. Every other character starts pushed above the line and the rest below, so the word reads as two combs sliding into each other, while the whole block drifts in from the side. Each band staggers from a different end and the middle one runs the opposite direction to its neighbours. GSAP SplitText and ScrollTrigger with Lenis, no images.

Component

Scroll begins

Subtle Phase

Hidden Flow

Calm Glide

End of motion

Install
npx shadcn@latest add https://ui.aryank.space/r/interlock-title-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
titlesstring[]Subtle Phase, Hidden Flow, Calm GlideOne title per band. Odd bands take the accent background, even bands the page background.
introHeading / outroHeadingstringBLANK copyThe lead-in and closing screens.
background / foreground / accentstring#f4f3ef / #141414 / #e3f794Page, type, and alternating band colors.
embeddedbooleantrueOwn the scroll container so it fits a bounded box. Set false to drive it from the window scroll.
Customize
titlestext

The full-bleed titles, one per band.

accent / background / foregroundcolor

Alternating band color, page color, and type color.

Dependencies
gsaplenis