← Writing
6 min read

How long should a UI animation take?

The default is 300ms and the default is usually too slow. Real duration ranges for interface motion, why distance changes the answer, and the thresholds where perception actually shifts.

  • timing
  • fundamentals

Ask what duration a transition should be and you will get “300ms” more often than anything else. It is the value baked into a lot of component libraries, and it is a reasonable middle of the road. It is also, for most of the things people apply it to, noticeably too slow.

Duration is the one animation property users feel without being able to name. Too fast and a change is missed entirely. The interface appears to teleport, and people lose track of what moved where. Too slow and every interaction carries a tax, which compounds: an animation you see once is delightful, and the same animation on the fortieth repetition is an obstacle.

The thresholds that actually matter

Human perception has a few real boundaries, and they are more useful than any house style.

Under ~100ms reads as instant. This is roughly the window in which cause and effect feel fused. Anything faster is not perceived as an animation at all; it is perceived as the interface having simply responded. This is the budget for hover states and button feedback.

100–200ms reads as responsive. The motion is perceptible, you can follow it, and it costs nothing. Most small state changes belong here.

200–500ms reads as an animation. You notice it as a deliberate piece of motion. This is where entrances, panels, and page-level transitions live, and it is the range where craft is visible.

Beyond ~500ms it starts to feel slow. There are legitimate reasons to cross this line, such as a large or complex movement, a first-run onboarding moment or a deliberately cinematic transition. Crossing it by accident is the single most common timing mistake.

Beyond ~1s it needs to be earning its keep, and generally needs to be interruptible.

Distance changes the answer

The mistake buried inside a house default of 300ms is that it applies one number to motions of wildly different sizes. Duration should scale with how far the thing travels.

Not linearly, though. Doubling the distance does not mean doubling the duration. A bottom sheet crossing 800px is not four times slower than a dropdown crossing 200px. Perceived speed relates to distance sublinearly, so as things get bigger, duration should grow more slowly than size does.

In practice, that means bands rather than a formula:

Movement Typical distance Duration
Colour, opacity, tiny shifts ~0–8px 100–150ms
Dropdown, tooltip, small popover ~50–150px 150–250ms
Modal, dialog, card expansion ~200–400px 250–350ms
Bottom sheet, side panel, drawer ~400–800px 300–450ms
Full-screen or page transition full viewport 400–600ms

Two adjustments to those numbers. Larger surfaces need proportionally more time. A big element moving fast feels violent in a way a small one does not, because it sweeps more of the visual field. And mobile generally wants slightly longer than desktop, since the motion occupies more of the screen and the interaction is more physical.

Exits are faster than entrances

Worth repeating from the easing guide, because it is a timing rule as much as a curve rule: an exit should run at roughly 60–75% of its entrance.

An entrance has work to do. Something new appeared, and the user has to notice it, locate it, and understand its relationship to what they clicked. An exit has no such job. The decision is already made, and the animation is pure latency between intent and acknowledgement.

Modal in at 250ms, out at 175ms. Sheet in at 350ms, out at 250ms. The asymmetry is invisible when done and conspicuous when not: symmetric dismissal is what makes an interface feel like it is arguing with you.

Frequency should push duration down

The best question to ask about a duration is not “how does this feel?” but “how does this feel the fiftieth time?”

Animations you see constantly (hover states, focus rings, toggles, list-item feedback, anything on a control used dozens of times per session) should sit at the fast end of whatever band they are in. A 300ms hover state is charming in a portfolio and unbearable in a tool someone uses all day.

Animations seen rarely can afford more. An onboarding sequence, a success celebration, an empty-state illustration, a first-run tour: these are seen once or twice, and the cost of a longer duration is never amortised into annoyance.

This is also the cleanest way to settle an argument about whether something is too slow. Do not watch it once. Trigger it thirty times in a row.

Stagger is where the time actually goes

When several elements animate together, like a list appearing, a grid loading or a menu opening, the instinct is to offset each one. Stagger works, and it is easy to overspend.

The arithmetic is unforgiving: total time = item duration + (stagger × item count). Ten list items at 300ms each with a 100ms stagger is not a 300ms animation. It is 1.3 seconds, and the last item arrives long after the user has started reading the first.

Useful defaults:

  • Stagger 20–50ms per item, not 100ms
  • Cap the total at around 500ms regardless of count
  • Cap the number of staggered items at roughly 5–8; beyond that, animate the rest as a group or not at all

The purpose of stagger is to suggest sequence and direction, not to individually introduce every element. Once the eye has understood “these are arriving in order,” further stagger adds nothing but waiting.

Loading is a different problem

Everything above assumes the duration is yours to choose. Progress and loading motion is not. It is bounded by the network, and the rules invert.

The interesting thresholds are perceptual again. Under about 1 second, no indicator is needed; showing a spinner for 200ms creates a flash that makes the interface feel less stable, not more. Between roughly 1 and 10 seconds, an indeterminate indicator keeps the user oriented. Beyond 10 seconds, people disengage and you need real progress information: a percentage, a step count, something that confirms the system is still working.

The practical trick is to delay the indicator by 300–500ms rather than showing it immediately. Fast responses then never flash a spinner at all, and slow ones still get one before the user starts to wonder.

Reduced motion is not “no motion”

prefers-reduced-motion does not mean the animation must be deleted. It means large, sweeping, or vestibular-triggering movement should be replaced, typically with a crossfade at a similar duration.

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

That blanket reset is a reasonable floor and it is what most sites should ship. But the better treatment, where you have time for it, is per-component: keep the opacity transition, drop the translate. The user still perceives that something changed. They just are not moved through space to learn it.

Starting points

If you want defaults rather than ranges, these are defensible:

  • Hover, focus, small state: 150ms, ease-out
  • Dropdown, tooltip, popover: 200ms in, 150ms out
  • Modal or dialog: 250ms in, 175ms out
  • Bottom sheet or drawer: 350ms in, 250ms out
  • Page transition: 400ms
  • Stagger: 30ms per item, capped at 6 items

Then trigger each one thirty times and shorten whatever irritates you. That last step is the whole method. Every number above is a starting guess, and the interface tells you the rest.