3D Letter Swap

Staggered customizable 3D letter swap animation

Hover Me!HHoovveerr MMee!!

Customize

Stagger Interval
0.03s
Duration
0.6s
Blur Amount
4px
Scroll Threshold
0.1

Props

17
childrenReact.ReactNode

The content to be displayed and animated

Default-
asElementType

HTML Tag to render the component as

Default"p"
classNamestring

Class name for the main container element

Default""
frontFaceClassNamestring

Class name for the front face element

Default""
backFaceClassNamestring

Class name for the secondary face element

Default""
staggerIntervalnumber

Duration of stagger delay between elements in seconds

Default0.05
staggerOrigin"first" | "last" | "center" | "random" | number

Direction to stagger animations from

Default"first"
animationValueAnimationTransition | AnimationOptions

Animation transition configuration

Default{ type: 'spring', damping: 30, stiffness: 300 }
flipDirection"top" | "bottom"

Direction of rotation

Default"top"
playOnScrollboolean

Trigger animation when element scrolls into view

Defaultfalse
scrollThresholdnumber

IntersectionObserver threshold for scroll trigger

Default0.1
blurboolean

Enable blur effect during animation

Defaultfalse
blurAmountnumber

Amount of blur in pixels during transition

Default4
durationnumber

Duration of the animation in seconds

Default0.6
onAnimationStart() => void

Callback fired when animation starts

Defaultundefined
onAnimationComplete() => void

Callback fired when animation completes

Defaultundefined
respectReducedMotionboolean

Honor user's prefers-reduced-motion setting

Defaulttrue