Block Reveal Text
An editorial scroll page where every copy block is split into lines and each line is uncovered by a colored bar that wipes across left to right then retracts, timed off a scroll trigger so the text reveals line by line as it enters view, with full-bleed image sections between the copy.
npx shadcn@latest add https://ui.aryank.space/r/block-reveal-text.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 |
|---|---|---|---|
| sections | RevealSection[] | 7 mixed image/copy blocks | The page composition; copy blocks carry a reveal-bar color. |
| stagger / duration | number | 0.15 / 0.75 | Line stagger and wipe duration in seconds. |
| embedded | boolean | true | Own the scroll container and scope the fixed nav to it; set false for a viewport-fixed nav on window scroll. |
sectionslinksOrdered image, heading, and body blocks.
stagger / durationtuplePer-line delay and bar wipe duration.
gsaplenis


