Chapter 01 of 11Part 1 · Principles

UI animation principles: why motion?

The five jobs motion can do on a page, when to leave things still, and how to plan motion before writing any code.

9 minBy Zuzo StudioUpdated

10 min

In this chapter you will

  • name the five jobs motion can do on a page and spot decoration
  • decide which classic animation principles help an interface and which do not
  • write a motion brief for the hero you build in this course

Before you startNo experience needed. Open this page on a laptop if you can, so you can try things as you read.

Check your understanding

3 questions

Q1A dashboard has tabs that people switch between dozens of times a day. Each switch slides the new panel in over 400ms. What is the best change?

Show the answer

Make the switch instant, or keep a very short fade Repeated actions should respond at once. Motion that helps on the first click becomes a delay on the fiftieth, so a short fade or no motion at all serves the reader better.

Q2Which of these is motion used for feedback?

Show the answer

A button that presses in slightly when it is clicked Feedback confirms that the page heard an action. A small press on click tells the reader the tap registered.

Q3A news ticker scrolls across the top of a page for as long as the page is open. What does WCAG 2.2.2 require?

Show the answer

A way to pause, stop or hide it Moving content that starts automatically and lasts more than five seconds needs a mechanism to pause, stop or hide it, at Level A.

Key takeaways

  1. Every movement should do a job: feedback, orientation, continuity, attention or character.
  2. Easing, timing, staging and overlap translate well to interfaces; squash, stretch and exaggeration rarely do.
  3. Leave repeated actions, body text and the main heading still, and give anything that plays on its own a way to stop.
  4. Plan for readers who ask for reduced motion from the start, not as a fix at the end.
  5. A short written motion brief saves hours of adjusting durations later.
Up next · Chapter 02 · 10 min CSS easing functions and timing How long UI motion should take, which curve to use for entering and leaving, and how to write your own easing.

02FAQ

Questions on this chapter

Something else on your mind? Email the studio and a designer, not a salesperson, replies within a day.

What are the principles of UI animation?

Motion in an interface should do a job: give feedback, show where something came from, connect two states, draw attention to one thing, or express the brand. It should be short, eased like a real object, and never make the reader wait for content.

Do Disney's 12 principles of animation apply to websites?

Some of them do. Slow in and slow out, timing, staging and overlapping action map well onto easing, duration, sequencing and stagger. Squash and stretch and exaggeration usually make an interface feel slow or unserious.