Ada LindqvistDesign Engineer

Less Motion

I spend a lot of my time on animation, so it might be odd that the most useful thing I've learned about it is when not to use it.

Frequency decides

The question I ask first is how often someone will see the animation. Something you see once, like an onboarding screen or a success state after a purchase, can take its time and be a little playful. Something you see a hundred times a day should be fast, or not animated at all.

A command menu is the clearest example. People who use one open it constantly, usually with a keyboard shortcut, and usually because they already know what they want to type. An opening animation of even 150ms is 150ms between them and their task, every single time. Mine appears instantly.

Keyboard actions shouldn't animate

Related to that: when something happens because of a key press, I almost always remove the motion. Keyboard users are moving fast and on purpose. Switching tabs with a shortcut, moving through a list with arrow keys, toggling a sidebar: these should feel immediate. The same sidebar might slide when opened with a click, but not with a shortcut.

Respect the setting

Some people turn on reduced motion in their system settings, often because large movement on screen makes them feel unwell. That setting is easy to read:

@media (prefers-reduced-motion: reduce) {
  .sheet {
    transition: opacity 150ms ease;
  }
}

Reduced motion doesn't have to mean no motion. Fades are usually fine, it is movement across the screen and changes in scale that cause trouble. So I keep the opacity change and drop the transform.

Motion should explain something

The animations I keep are the ones that explain what happened. A sheet sliding up from the bottom tells you where it came from and where it will go when you close it. An item shrinking into a folder tells you where it went. If I can't say what an animation explains, it is decoration, and decoration gets old quickly.

Before adding any motion now, I try the interface without it for a day. More often than I expected, I don't miss it.