Faragiri
English

Choose a language 2

Learn Motion Interface design · Transitions, Microinteractions, Easing and timing

Three animations in a parcel app, with their durations: the band most motion belongs in, the two curves that mean arriving and leaving, and the question that deletes the rest.

3Branches
3Nodes below
3Depth

Recommended Before This

0 / 2

Motion in an interface has one job, which is to say where a thing came from. Everything else it can do, it does at the cost of the reader's time, and the cost is paid on every single use rather than on the first one.

Yara is adding movement to a parcel tracking app in Beirut. Three places want it: the tracking card expanding to show the delivery history, the button that confirms a redelivery, and the arrival of a new status while the screen is open. Three different durations, and the reasoning for each is different.

Duration is the number, and the band is narrow

Most interface motion belongs between 150 and 300 ms. Under 100 ms a change reads as instant and the movement is wasted; over 400 ms a person is waiting for a computer that has already finished. Yara's three: the card expansion is 240 ms, because it moves a long way and a short duration over a long distance reads as a jump. The button's press feedback is 120 ms, because it moves almost nothing and only has to confirm the tap happened. And the new status arriving is 400 ms, at the top of the band, because it is the one thing on this screen a person did not ask for and needs a moment to notice.

Three animations, one rail

Where each of the three sits against the band most motion belongs in

The one outside the band is outside it deliberately, and it is the only one nobody asked for.

Milliseconds, from the Beirut parcel app. The app is invented; the band is the ordinary working range.

where most of it belongs
0 ms, instant and unnoticed500 ms, and the person is waiting
  1. Button press feedback120 msBelow the band on purpose: over 100 ms starts reading as lag
  2. Card expansion240 msMoves a long way, so a short duration would read as a jump
  3. New status arriving400 msAbove the band, because it is the one change nobody asked for

A band is not a rule and distance is the missing axis here: the same 240 ms is slow across 40 px and fast across 400. What the figure cannot show is the easing, which changes how long a duration feels.

Modular Type Scale & CSS Flex/Grid Motion Lab

Test harmonic typography ratios and live Flexbox/Grid layouts with 1-click CSS export.

The rule underneath those three: the further it moves, the longer it takes, and a big element moving a long way needs more than a small one moving a short way. A single duration token applied to everything produces a small element that feels sluggish and a large one that feels flung.

A curved brushed-steel tension spring poised gracefully atop a raw dark slate block over muted emerald-sage linen.
UI motion works within a tight timing band: long enough for the eye to track spatial change, short enough never to delay the user.

The curve says whether it is arriving or leaving

Easing is not decoration and it carries one distinction. Something entering the screen decelerates: it starts fast and settles, which reads as arriving. Something leaving accelerates away, which reads as gone. In CSS those are ease-out for entering and ease-in for leaving, and the pair does more work than any duration.

Direction of travel

Ease-out signals arrival while ease-in signals departure

An easing curve carries physical intent, telling the eye whether an element is settling onto the screen or leaving it.

  • Entering: ease-outStarts fast and decelerates into place
    • Reads as arriving and coming to rest
    • Responds immediately to the user's tap
    • Pairs with cards, drawers and panels opening
  • Leaving: ease-inAccelerates away from rest until gone
    • Reads as clearing out of the way
    • Keeps exits brisk so nothing lingers
    • Pairs with dismissed alerts and closed sheets

Physical motion intent

Linear motion belongs only to continuous loops such as spinners; on UI transitions, constant speed reads as mechanical because real objects accelerate or decelerate.

Linear is the one to avoid, because nothing in the physical world moves at a constant speed and a linear transition reads as mechanical in a way people notice without being able to name. The exception is a spinner and anything else that loops, where a constant rate is the point. Curves, and what a spring does that a cubic curve cannot, is curves and durations that feel physical.

Move it from where it actually was

Move it from where it actually was: the tracking card expands from the row that was tapped, not from the centre of the screen. That is the whole of what transitions are for: a fade tells a person a new thing exists, and a movement tells them it is the thing they just touched, which is a different and more useful sentence.

One card expansion, 240 ms

Four states of the same movement, and what each one tells the reader

The frames are states rather than steps to build: the card is a real thing moving from a real place.

  1. 010 ms, the tapped rowThe card starts at the row's own position and size, not at the centre
  2. 0260 ms, moving fastEase-out means most of the distance is covered early
  3. 03180 ms, nearly thereDecelerating, which is what reads as arriving rather than appearing
  4. 04240 ms, settledThe history is visible, and the reader knows which parcel it belongs to

With reduced motion turned on there is one frame and a cross fade, and the reader loses the travel but keeps the answer, because the card still opens from the row rather than over it.

The test is one question. If the animation were removed, would the person be confused about where this came from? If yes, the motion is doing work. If no, it is a decoration being paid for on every use, forever. Yara removed a fade on the tab bar with that question, and nobody noticed it was gone. What movement can say about origin is showing where a thing came from.

Feedback under 100 ms, and it is not a transition

The press feedback on the confirm button is a different category and gets different numbers. It is not showing where anything came from, it is confirming that a tap registered, and it has to be immediate: a response over 100 ms reads as lag rather than as feedback. So 120 ms of scale on release is close to the ceiling and only works because the change is tiny.

Small actions

Three immediate responses that confirm an action registered

Micro-feedback does not explain spatial origin; it answers instantly whether a tap, entry or save took effect.

  • Confirm button pressScale response at release, held near the 100 ms lag threshold
    • 120 ms ceiling because distance is tiny
    • Tells the finger the tap landed
  • Saved icon fillSmall state flip when a record is stored
    • Confirms completion without blocking flow
    • Missed right away if removed
Immediate action feedback
  • Invalid field shakeLateral nudge when input fails validation
    • Immediate rejection cue
    • Points straight at the offending input

Unlike decorative transitions, small confirmation motions are felt most when absent, because users hesitate when an interface stays completely still after input.

The same category covers the field that shakes on an invalid entry and the icon that fills when something is saved. Small, immediate, and they are the motions people miss when they are absent, which is the opposite of the decorative ones. That whole family is feedback on the small actions.

A spun brushed-steel mechanical detent puck nestled crisply inside a hinged dark walnut box on deep emerald-sage cloth.
Feedback under 100 ms feels instantaneous rather than animated, confirming taps and presses immediately without drawing attention to motion.

Somebody has turned it off, and the app has to still work

Reduced motion is a system setting rather than a preference nobody uses: it is on for people who get motion sick, and for people who find movement hard to track. Honour prefers-reduced-motion, and replace movement with a cross fade rather than removing it. Removing it entirely takes away the where-did-this-come-from information that the motion existed to carry, so the reduced version keeps the meaning and loses the travel.

Accessibility preference

Keep the origin answer even when travel is turned off

Deleting animation altogether under prefers-reduced-motion strips away the spatial context; a cross-fade preserves the meaning.

Is prefers-reduced-motion active on the user's device?
  • Default motion setting
    Full spatial transitionCard travels from the element the person touched
    • Shows origin through continuous position change
    • Uses ease-out arrival over the working band
  • Reduced motion enabled
    Replace travel with cross-fadeRemoves vestibular strain without hiding what changed
    • Drops translation and scale sweep
    • Fades cleanly in place so the relationship stays clear

Reduced motion is a real system preference used by people who experience motion sickness or struggle to track moving targets, not an edge case to switch off bluntly.

The stall is animating what is easy to animate

The page transition gets a fade because a page transition has an obvious hook to hang one on. The modal gets a slide. The list gets a stagger. None of those was asked for by anything, and each is chosen because that element was easy to reach, which is how an app ends up with movement everywhere and none of it explaining anything.

Where motion stalls

Every animation passes through one sentence, or gets deleted

Products accumulate motion wherever code hooks are convenient until every screen wastes attention explaining nothing.

  1. Page transition fade on route hook
  2. Modal slide-in on overlay mount
  3. List item stagger on data render
Write the sentence it saysIf the only answer is 'it looks nice', delete it instead of shortening it
  1. Keep: shows origin or confirms input
  2. Delete: saves 200 ms of user attention per use

Shortening an unnecessary animation from 300 ms to 150 ms still taxes every repeat visit. Removal is the honest fix whenever a movement carries no explanation.

That is where motion work stalls, and the tell is a list. Write down every animation in your product and, beside each, the sentence it says. Anything where the sentence is it looks nice is costing 200 ms of somebody's attention, every time, and the honest move is to delete it rather than to shorten it.

Six delicate blown-glass pendulum drops suspended in a clean rhythmic row above an oak-topped sage-green sideboard cabinet.
Animating flashy properties simply because they are easy clutters the screen; purposeful UI motion clarifies cause, hierarchy, and direction.

What to open

CSS transitions and animations are where nearly all of this belongs, and they have been in every browser for well over a decade. They replaced doing it in JavaScript, which is still where people reach first and which runs on the main thread, so it stutters exactly when the app is busy. Transform and opacity are the two properties that animate cheaply; animating height or top is what makes a card expansion judder on an older phone.

What to open

From GPU-composited CSS up to the network waits motion cannot hide

Smooth movement starts with transform and opacity in CSS, gets tuned in Figma prototypes, and stops where real latency begins.

  1. CSS transform and opacityFigma Smart AnimateDefault since 2019; tests 240 against 400 ms before writing code
  2. 02Reduced-motion fallbackHonours system preference with cross-fades instead of travel
  3. 03Real loading statesA 400 ms animation cannot mask a two-second network wait

Animating layout properties like height or top runs on the main thread and stutters on older phones; composited transform and opacity keep frames steady when the app is busy.

Figma has prototyped this since 2019, when it took the seat from Sketch, and smart animate is the feature: two frames, and it works out what moved. Its free tier covers this, and its value here is settling the 240 against 400 ms argument in a meeting rather than in a build, because a duration is impossible to judge from a number.

What none of this covers is what happens when the movement is hiding a wait rather than explaining a change. A 400 ms animation over a two second network request is a decoration in front of a problem, and the honest answers are elsewhere: the parts an interface is assembled from for what a loading state should be, whether people can actually use it for whether anybody minds the wait, and designing for the people your defaults exclude for the reduced motion setting above, which is the same argument made once for everybody.

Inside this, 3

Alongside this

Above this