Desktop optimized

Please maximize your browser window or use a larger screen to explore the component library.

Go to home

Fold Reveal

A structural text reveal component. Distinct lines of text hinge downward into view like a cascading staircase or folding paper, providing a rigid, architectural feel.

Last Modified:Aug 17, 2026

Install

CLI

fold-reveal
$pnpm dlx shadcn@latest add https://ui.satisium.com/r/fold-reveal.json

Or install a specific demo variant:

fold-reveal-demo
$pnpm dlx shadcn@latest add https://ui.satisium.com/r/fold-reveal-demo.json

Manual

1. Install Dependencies

Dependencies
$pnpm add gsap @gsap/react clsx tailwind-merge

2. Add Source Code

Props

PropTypeDefaultDescription
textstringRequiredText to reveal. Use \n to define distinct folding panels/lines.
asReact.ElementType"h1"The HTML tag to render as.
startAngleXnumber-90The angle the paper folds out from.
durationnumber1.2Duration of the fold animation per line.
delaynumber0Delay before the animation begins (in seconds).
staggernumber0.15The stagger delay between each line folding down.
viewportOncebooleantrueIf true, plays once. If false, seamlessly reverses on scroll away.
triggerStartstring"top 85%"Viewport threshold for when the animation should start.