Motion has a shape.
Learn to read it.
Every animation is a value travelling over time, and each motion model draws its own signature curve — a spring overshoots and settles, easing glides on a fixed arc, inertia coasts and decays. Below: a lab of real components, each driven by the model that fits — play with every one — then the live graphs that explain why they feel that way.
Overshoots the target, then settles. Carries momentum.
A fixed arc over a fixed time. Predictable, never bounces.
A kick, then friction bleeds the velocity to zero.
The component lab
This is where the theory pays off. Fourteen real components, each wired to the model that actually fits — grouped by the physics that drives them. Several respond live as you drag; the rest play out on a tap. Poke at every one; the difference between the right model and the wrong one is something you feel, not something you read.
A tactile switch wants weight — the knob overshoots and detents over, like a real one.
Distance varies between tabs; a spring auto-scales its timing so every hop feels right.
A confident pop with a touch of overshoot makes the choice feel registered, not just toggled.
Spring a value, not a position — the magnitude of the change reads in how long the digits travel.
A celebration: scale, rotation and a particle burst on coordinated springs that decay together.
The button springs toward the cursor and snaps home on exit — playful affordance, invisible math.
Same spring per item, offset start times — sequential timing reads as one choreographed gesture.
Grab a row and the others spring out of its way, then it settles into the open slot — live, the whole drag.
Drag anywhere, release, and the thumb springs to the nearest stop with a hint of overshoot.
An interruption with authority arrives the same way every time. Predictable ease, never playful.
Height animation triggers reflow. A spring would oscillate and make the text inside jitter — easing’s one-way curve stays readable the whole way down.
auto height can’t transition. Measure scrollHeight, set it as a px target, then animate to it.
Height drives reflow; a spring would jitter the text. A one-way ease keeps the unfold readable.
Two physics, one element — springs in to be noticed, eases out to be ignored. Match the moment.
Drag and flick — release velocity projects how far it coasts, then a spring snaps it to the nearest card.
Flick past the threshold and momentum carries the row out; nudge it and a spring pulls it back.
Drag down and the content rubber-bands against you; past the threshold it refreshes, then springs home.
The three models, on an oscilloscope.
Everything above runs on three motion models. Here they are stripped bare — plotted live as you drive them, so you can see the exact curve behind every component you just touched.
Race to a target
Click anywhere on the track to set a target. Three pucks race there at once — and their value-over-time is plotted live below. Linear marches at constant speed, easing eases off, the spring blows past and settles. Re-target mid-flight and only the spring carries its momentum through.
↑ click the track to launch
The spring's personality
A spring is two forces: stiffness pulls it home, damping bleeds off energy. Their ratio — ζ — decides everything. Drag damping low and the spring wobbles; raise it and the bounce disappears. The graph re-records every time you change a value.
bounces past the target before settling — playful, alive
Inertia & the flick
Inertia isn't a trip to a target — it's continuing the user's gesture. Grab the puck and flick it. On release it keeps your velocity and friction bleeds it away. The trace shows position easing to a stop all on its own — no target, no duration, just momentum.
drag & flick the puck →
The cheat sheet
One rule under all of it: match the model to the moment, not the component. A toast springs in to be noticed and eases out to be ignored — same element, two models.
Toggles · tabs · drag-reorder · likes · value tickers — anything tactile, direct, or celebratory.
Modals · accordions · page transitions · tooltips — surfaces that need authority and predictability.
Bottom sheets · carousels · pull-to-refresh · scroll — anything continuing a gesture the finger started.