TrademarkTrademarkDocs
Ctrl k
Search docs...
Effects

FlipFx

Updated: May 11, 2025
View on GitHub
FlipFx simulates a flipping card on click. Use the flipDirection prop to control the flip direction.
Prop
Type
Default
flipDirection
Axis the card turns on.
horizontalvertical
—
timing
Duration of the flip, in milliseconds.
number—
flipped
Controlled face. Omit it to let the component manage its own state.
boolean—
onFlip
Called whenever the face changes.
(flipped: boolean) => void—
disableClickFlip
Stop clicks from flipping the card.
boolean—
autoFlipInterval
Flip on a timer, in milliseconds. Omit for manual flipping only.
number—
frontrequired
React.ReactNode—
backrequired
React.ReactNode—
className
string—
style
React.CSSProperties—
…and every FlexProps propinherited—
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club