Skip to content

43 spring physics animations for the web

A spring animation has no fixed duration. It has a stiffness and a damping, and it settles when it settles, so it can be caught and redirected halfway without a jump. Here that looks like a label that trails the pointer over a row of round photos, a pill menu that grows into a card, a carton lid that hinges back as you scroll, and a garden table where you lift a box and it rises with a longer shadow.

See the designsSee all 43 on the Wall →

The designs

See all 43 on the Wall →

About these designs

Springs suit anything the hand touches, because they answer the speed you gave them. They run every frame in script, which is cheap when they move transforms and expensive when they move layout. With reduced motion on, jump to the end state.

The set mixes single Effects with code, page Sections and whole landings. Each one has a live Preview and a Design Spec that names the spring and what it drives, ready for your coding agent.

Questions

What is the difference between a spring and an easing curve?

An easing curve runs for a set time along a set shape. A spring is a small physics model with stiffness and damping, so it keeps the speed it was given and can be interrupted without a jump.

Are spring animations heavy on phones?

Not if they move transform and opacity. They are computed every frame, so pointing them at layout properties is what makes them stutter.

How do springs work with reduced motion?

When prefers-reduced-motion is set, place the element at its resting state with no travel. The interaction still works; it just does not bounce.

Do these come with code?

The Effects come with an Element Package, a self-contained module you can copy. Every Taste has a Design Spec your agent can build from.

DavidAnswers right away

Good afternoon. What are you looking for?

Four answers he already knows