TrademarkTrademarkDocs
Ctrl k
Search docs...
Effects

RevealFx

Updated: May 11, 2025
View on GitHub
RevealFx animates content into view using a vertical translateY motion. You can control the speed, delay, and triggering behavior.
Prop
Type
Default
children
React.ReactNode—
speed
Named duration, or a number of milliseconds.
slowmediumfastnumber
medium
delay
Milliseconds before it starts. Stagger a set with index * 100.
number0
revealedByDefault
Start revealed, for content that is already on screen.
booleanfalse
translateY
How far it travels. A number is rem, a token is a spacing step.
numberSpacingToken
—
revealed
Whether it has played. Latch this off useInViewport for a below-the-fold reveal.
boolean—
style
React.CSSProperties—
className
string—
…and every FlexProps propinherited—
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club