Word Highlight Scroll
Pinned copy that reads itself in as you scroll. Each paragraph section pins while its words light up one after another: a grey chip fades in, the word resolves through it, and selected keywords carry a colored pill; past 70 percent the sweep reverses. Bold color-card headlines sit between the sections. GSAP ScrollTrigger with Lenis, no images.
npx shadcn@latest add https://ui.aryank.space/r/word-highlight-scroll.jsonInstalls from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.
| Prop | Type | Default | Description |
|---|---|---|---|
| headlineHero / headlineCta / headlineOutro | string | BLANK editorial headlines | Color-card headlines between the paragraph sections. |
| aboutParagraphs / featuresParagraphs | [string, string] | BLANK studio copy | The two pinned word-reveal paragraph blocks. |
| keywords / embedded | string[] / boolean | Nine keywords / true | Pill-highlighted words; embedded owns the scroll container. |
headlineHero / headlineCta / headlineOutrotextThe three bold color-card headlines.
aboutParagraphs / featuresParagraphstextThe two pinned, word-revealed paragraph blocks.
keywordstextWords that get a colored pill during the reveal.
gsaplenis