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 @compronents/block-reveal-textInstalls 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 |
|---|---|---|---|
| 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


