Spring Animation
Physics-based motion where an element overshoots its target slightly and settles, like a spring.
linear() easing / Web AnimationsWhen to use it
For drag and drop and controls that should feel alive.
Common mistake
Don’t make everything bounce; it tires the eye.
Accessibility
Keep damping high in UI; a lot of bounce is distracting.
Name in code
| HTML/CSS | linear() easing / Web Animations |
|---|---|
| React | framer-motion type: "spring" |
| Jetpack Compose | spring(dampingRatio, stiffness) |
| SwiftUI | .spring(response:dampingFraction:) |
Ready prompt for your coding agent
Add a Spring Animation to this screen.
What it is: Physics-based motion where an element overshoots its target slightly and settles, like a spring.
Implement with: linear() easing / Web Animations (HTML/CSS).
Accessibility: Keep damping high in UI; a lot of bounce is distracting.
When to use it: For drag and drop and controls that should feel alive.
Avoid: Don’t make everything bounce; it tires the eye.
Reuse the project's existing design tokens, spacing and component conventions.
Or compose a whole page from this element and others →
Prompts are in English for the most precise results with coding agents.