An easing curve describes how a move speeds up and slows down over its duration. Draw a graph with time along the bottom and distance up the side. A straight diagonal is linear, a curve that rises steeply and then flattens is an ease-out, and a curve that starts flat and then steepens is an ease-in.
Choosing the right one costs nothing and changes how fast a product feels. A move that takes 250 milliseconds with an ease-out feels quicker than the same move with a linear curve. The eye catches the early speed and stops paying attention before the slow finish.
This lesson uses a bus ticket booking app, which has a filter drawer, a seat map and a "Seat booked" message that each move in a different way.
Match the curve to the kind of move
Picking a curve is close to a rule. It depends on whether the thing is arriving, leaving, or moving between two places on the screen.
| Kind of move | Curve | In the bus app |
|---|---|---|
| Entering, or answering a tap | Ease-out, fast then settling | The filter drawer sliding in, the "Seat booked" message appearing |
| Leaving | Ease-in, slow then quick | The drawer closing, the message going away |
| Moving between two places on screen | Ease-in-out | A chosen seat sliding down into the summary bar |
The classic mistake is an ease-in on an entrance. The drawer hesitates before it moves, and the whole app feels like it is thinking.
Read the four numbers
In CSS, the code that styles a web page, a curve is written as a cubic Bézier with four numbers. They are the positions of two control points that bend the line. The named curves are shortcuts for fixed values. Ease-out is cubic-bezier(0, 0, 0.58, 1), ease-in is cubic-bezier(0.42, 0, 1, 1) and ease-in-out is cubic-bezier(0.42, 0, 0.58, 1).
You will rarely type these by hand, but the developer needs them. A curve called "ease-out" in a design tool and one called "ease-out" in code may not be the same shape. Write the four numbers into the handover note for every curve, so the developer builds exactly what you designed.
Use a spring when people tap fast
A spring is a different kind of motion. It has no fixed duration. It has mass, stiffness and damping (how quickly the bounce dies away), and it runs until it settles.
The useful part is that a spring can be interrupted. Say someone taps one seat on the map, then taps a different seat halfway through the move. A curve with a set duration has to finish or jump, while a spring takes the new target and carries on at its current speed. Interfaces that stay smooth under quick, repeated taps are almost always built with springs.
Keep to two or three curves
Pick two or three curves for the whole product and give each one a name, such as "enter", "exit" and "move". Named values like these are called tokens, and designers and developers both use the same ones. A product with fourteen different easing curves shows fourteen people's opinions, and users feel the mess even if they could not name it.
Plan for people who have turned on the reduced-motion setting on their phone. The filter drawer should still open for them, with a short fade in place of the slide. The lesson on restraint in interface motion covers this setting in full.
The next lesson looks at transitions and continuity.