Let’s move

Last updated

When done well, animations can bring delight and add personality to your interface. In fact, the word animate comes from the latin animare, meaning “bring to life”.

No animation is unnatural

You click on a “New” button and a form just… appears from nowhere? You click a “X” to close a modal and… it just vanishes into thin air? That is unnatural and it’s what we should be avoiding as designers. Nothing in the real world does anything as jarringly as just swapping states. If that happened it would feel like a glitch in the matrix.

Take for instance the carousel interface on this post — if you disable the animation at the top of this article, you’ll instantly notice that something feels off, in fact it looks broken. The cards are still changing, but we can barely see it. With the animation enabled, it’s easier to understand the relationship between the elements and the flow between different states – you can see the depth of the interface, and ultimately, it feels natural.

What makes a good animation

So we know we should animate, but what makes for a good animation? What should we focus on?

First, animation is all about timing:

Second, if you are working with CSS you should animate exclusively using opacity and transform properties. You might need to get creative, but any other property will trigger a browser layout or paint, which are expensive operations. That’s the only way to keep your animations running at a smooth 60fps rate.

That’s about it. Remember that having fun is the best way to get the best results. Go the extra mile, play, experiment, and be happy with what you do.

Try. Iterate. Polish.