Scroll Scrub Slider
A pinned full-screen slider scrubbed by scroll. Each step cross-fades a new image, rebuilds the headline line-by-line, and updates numbered indices with sliding markers and a vertical progress bar.
npx shadcn@latest add @compronents/scroll-scrub-sliderInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
Checking access…
| Prop | Type | Default | Description |
|---|---|---|---|
| slides | { title: string; image: string }[] | 7 BLANK-hosted JPGs | Scrub steps; pin length is one viewport per slide. |
| embedded | boolean | true | Own the scroll container; set false to ride the window scroll. |
slideslinksImage and headline per step.
introText / outroTexttextareaThe full-screen copy before and after the pin.
gsaplenis