๐ŸงจPre-releaseYou shouldn't use this library-1 min read

SpringAnimationConfig API Reference

Prop reference

TitleTypeDefaultDescription
configAnimConfig
โ€“

Spring config preset name or custom config

loopboolean
โ€“

Whether to loop the animation

delaynumber
โ€“

Delay before the animation starts, in milliseconds

immediateboolean
โ€“

Whether to apply changes immediately without animation

resetboolean
โ€“

Whether to reset the animation to the 'from' state before starting

reverseboolean
โ€“

Whether to reverse the animation direction

pauseboolean
โ€“

Whether to pause the animation

cancelboolean
| string
| string[]
| (() => void)
โ€“

Whether to cancel the animation

onRestOnRest<any, any>
โ€“

Callback when the animation comes to rest

* Props marked with an asterisk are required.

CSS target reference

There are no corresponding CSS targets for this API.

Made by .