# UI animation with a purpose: when motion helps people read

> When UI animation helps people read a page and when it gets in the way. The order things should enter, speed that fits the brand, and reduced motion.

Source: https://lastdoorsolutions.com/blog/ui-animation-with-a-purpose

**UI animation earns its place when it tells people what to read first.** Motion that only decorates slows the page down and gives the reader one more thing to ignore.

Our design lead wrote this into our front-end guide in 2019, with a story about a shirt shop.

## The shirt shop

A customer walks into a shop and asks for a shirt. **The assistant puts all 500 shirts on the counter at once.** The customer panics and leaves.

A better assistant asks which style, then which colour, and then shows three shirts. The stock is the same. The order changed.

**The lesson is to organise the choice.** Clear headings and layout can do that without motion. Animation helps only when it makes a change or sequence easier to follow.

## Four words, used precisely

| Word | What it means | Example |
| --- | --- | --- |
| **Animation** | Anything that seems to move | A headline that rises into place |
| **Transition** | A change from one state to another | A menu that opens |
| **Effect** | The visible result of an action | A button that changes when you point at it |
| **Interaction** | An action that sets off a second action | A form label that moves when you start typing |

Teams that use one word for all four argue about the wrong thing. **Ask which of the four a design calls for, and what it tells the reader.**

## Decide the order first

Motion starts with an order, not with an effect. The guide gives three ways to choose it:

1. **Top to bottom,** the order a reader scans.
2. **By importance,** the headline before the details.
3. **By structure:** a section first, then its parts, then the items inside them.

The guide proposed **the background first, then the logo, then the navigation.** That was a direction for those designs, not a reason to delay navigation on every page.

**Use only the movement the explanation needs.** Large sweeps and staggered entrances can delay reading, even when their timing is consistent.

## Speed belongs to the brand

A yoga studio's site can move slowly and softly. A gym's can move fast. **One transition speed copied across every element and every project is a missing decision.**

The guide was honest about our own site at the time. **Our navigation took 3 seconds to finish loading, against about 1 second on a large technology brand's site.**

## What the 2019 guide left out: reduced motion

Some people get dizzy or sick from motion on a screen. Phones and computers have a setting for this, called reduced motion, and a site can read it.

**Our current home page keeps its main text still.** The capability panels use a short transition, and the phone header hides and returns as you scroll. The Reduce animation control switches those movements off; the panels and header also respect the device's reduced-motion preference.

**The Web Content Accessibility Guidelines (WCAG)** set two limits worth knowing. Automatically moving content beside other content needs a pause, stop or hide control when it lasts more than five seconds, unless essential ([level A](https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html)). Non-essential motion triggered by interaction must be disableable at [level AAA](https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html).

## Five things to check in any design with motion

1. **What does each movement tell the reader?** If nobody can answer, remove it.
2. **In what order does the page enter,** and does that order match what matters most?
3. **Does the speed fit the brand,** or is it one default copied everywhere?
4. **What happens with reduced motion switched on?** Try it on your own phone.
5. **Can a person still use the page before the motion finishes?** A button that cannot be clicked until it lands has made the reader wait for decoration.

Turn on reduced motion for a day. The movements you miss are the ones that were doing a job.

## Adding motion to a site or product?

Tell us what the page has to get across first. We will say where motion would help a reader, and where it would only slow them down.

[Talk to us about design](https://lastdoorsolutions.com/contact?service=design)
