Spring animation

Also called spring physics or physics-based animation

An animation driven by simulated spring physics in place of a fixed duration and curve, so motion can overshoot, settle, and react naturally.

What is Spring animation?

A spring animation moves an element as if a spring were pulling it toward its target. Instead of a duration and an easing curve, you describe the spring: how stiff it is, how much friction slows it, and how heavy the object is. The element speeds up, may overshoot a little, and settles on its own.

Springs feel natural for anything that reacts to people: toggles, drawers, cards that follow a drag, and elements that change direction mid-flight. A spring starts from the element’s current position and speed, so it can pick up wherever an interrupted animation left off.

Motion (type: "spring"), React Spring, and SwiftUI have springs built in. CSS has no spring timing function, but the linear() easing function can approximate a spring’s curve. Keep the bounce subtle in product UI, and swap the movement for a quick fade for people who prefer reduced motion.

Often confused with

Tweening
A tween runs for a set duration along an easing curve. A spring has no fixed duration; its physics decide how long it takes to settle.
Overshoot easing
Overshoot easing fakes a single overshoot with a cubic-bezier curve and a fixed duration. A spring can wobble several times and responds to the speed it starts with.
All terms

Stiffness

A spring setting for how hard the spring pulls toward its target, where higher values feel fast and snappy and lower values feel loose and slow.

Damping

A spring setting that works like friction, deciding whether motion bounces and wobbles on arrival or settles smoothly without overshooting.

Interruptible animation

An animation that can change course mid-flight, continuing smoothly from its current position and speed when someone acts again before it ends.

Easing

A curve that controls how an animation’s speed changes over time, so motion can start slow, land softly, or keep one steady pace.