Reveal
FREEFades and lifts content into view on scroll. Respects reduced motion.
Installation
Terminal
npx @bloxa/cli add reveal
# or: npx shadcn@latest add @bloxa/revealPackages installed automatically: motion
Examples
Staggered reveal
Component
Block
Page
API reference
Every component also accepts the props of the element it renders.
Reveal
| Prop | Type | Default | Description |
|---|---|---|---|
| delay | number | 0 | Delay before animating in, in seconds. |
| offset | number | 16 | Vertical travel in px. |