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 https://ui.aryank.space/r/scroll-scrub-slider.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 |
|---|---|---|---|
| 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