Type Alias: SpringTransition
SpringTransition =
object
Defined in: animation/types.ts:71
Transition configuration for spring (physics-based) animations.
Spring animations simulate a mass attached to a spring, providing natural-feeling motion. The animation settles when the spring reaches equilibrium.
See
Properties
clamp?
optionalclamp:boolean
Defined in: animation/types.ts:81
Whether to clamp the animation value to prevent overshooting
damping?
optionaldamping:number
Defined in: animation/types.ts:73
Damping ratio controlling oscillation decay (default: 1, critically damped)
delay?
optionaldelay:number
Defined in: animation/types.ts:83
Delay before starting the animation in milliseconds
initialVelocity?
optionalinitialVelocity:number
Defined in: animation/types.ts:79
Initial velocity to apply at animation start
mass?
optionalmass:number
Defined in: animation/types.ts:77
Virtual mass in kg affecting momentum (default: 1)
stiffness?
optionalstiffness:number
Defined in: animation/types.ts:75
Spring stiffness in N/m affecting animation speed (default: 100)