PRO

Scroll Text Blocks

Three columns of copy whose words roll out and in per-word as you scroll a pinned hero, with a scroll-velocity-reactive image marquee and a thin progress bar.

Component

I work in portrait photography with a focus on light, tone, and quiet expression. My approach is patient and intentional.

I try to build images that feel honest, with enough breathing room for personality to settle into the frame.

The final images aim to capture the shift between who they are and become the moment the shutter falls still.

Install
npx shadcn@latest add https://ui.aryank.space/r/scroll-text-blocks.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
blocks[string, string, string]source-inspired copyCopy blocks split into masked words.
imagesstring[]10 BLANK-hosted JPGsMarquee tiles, duplicated for the seamless loop.
embeddedbooleantrueOwn the scroll container; set false to ride the window scroll.
Customize
blockstextarea

The three copy paragraphs that swap as you scroll.

imagesasset-url

The ten marquee images.

Dependencies
gsaplenis