Spring Physics Animation
Physics-based animation driven by stiffness, damping, and mass rather than fixed durations, preserving natural velocity even when interrupted mid-flight
Table of Contents
Structure Diagram
What is Spring Physics Animation?
Physics-based animation driven by stiffness, damping, and mass rather than fixed durations, preserving natural velocity even when interrupted mid-flight. It is a core concept in Motion & Interaction within UI / UX.
Core Principles
Instead of relying on fixed durations and cubic-bezier curves, Spring Physics simulates real-world spring mechanics using stiffness (tension), damping (friction), and mass (or perceptual equivalents like duration + bounce).
Its superpower is interruptibility: when a user rapidly toggles a switch or redirects a dragged sheet mid-flight, a spring preserves current velocity and redirects smoothly without jarring resets.
Practical Takeaways
- Default to crisp, near-critical damping: Spring physics does not mean everything should wobble like jelly. For everyday UI controls, keep bounce minimal (e.g.,
bounce: 0.05–0.2) for snappy, confident settling. - Inject gesture release velocity: Passing pointer fling velocity into the spring when releasing a bottom sheet or carousel makes web interactions feel indistinguishable from native mobile apps.
- Reserve springs for spatial motion: Use simple CSS easing for color or opacity fades where physical momentum does not apply.
Notable Examples
- iOS app launch and swipe-home gestures: Fluidly adapting trajectory to finger flick velocity.
- Dynamic Island morphing: Elastic container transitions responding to live state updates.
- Kanban drag-and-drop settling: Cards snapping smoothly into destination slots after release.