Sora UI

Dual Wipe Reveal

Dual-layer block wipe reveal that sweeps away curtain blocks to unveil text, powered by Motion. A React component.

Made by Axyl
Loading...

Dual-layer block wipe reveal sweeping across text with brand accent highlights.

Installation

npx shadcn@latest add @soralabs/dual-wipe-reveal

File Structure

dual-wipe-reveal.tsx

Usage

Stagger multiple lines:

Reverse wipe direction (right to left):

Vertical wipe reveals:

Props

PropTypeDefault
children?
ReactNode
-
as?
ElementType
"span"
direction?
"left" | "right" | "down" | "up"
"left"
accentColor?
string
"bg-primary"
wipeColor?
string
"bg-muted"
duration?
number
0.5
delay?
number
0
stagger?
number
0.1
once?
boolean
true
inViewMargin?
string
"0px 0px -15% 0px"
trigger?
boolean
-
className?
string
-

Built by Axyl. A motion-first component registry for React.

Last updated: 9/20/2026

On this page

Help keep SoraLabs moving.

Every contribution helps us build and maintain open-source tools for the community.

Sponsor on GitHub