Skip to content
TrademarkTrademark
Docs
Effects

FlipFx

Updated: May 11, 2025
View on GitHub

FlipFx simulates a flipping card on click.

Direction

Use the flipDirection prop to control the flip direction.

API reference

Type
Default
flipDirection
Axis the card turns on.
horizontalvertical
horizontal
timing
Duration of the flip, in milliseconds.
number2000
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.
booleanfalse
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