Skip to content

Insights — Engineering

Animation that earns its place

Motion is easy to add and hard to justify. The test we use: does it tell you something a static frame could not?

A site with animation everywhere reads the same as a site with none: your eye stops registering it. Motion works by contrast, so spending it evenly is the same as not spending it.

Four things motion can say

  • This is new — something arrived that was not here before
  • These are related — this came from that
  • This is progress — something is happening and here is how far along
  • This is state — the thing you just did worked

If a movement is not saying one of those, it is decoration, and decoration has a cost measured in milliseconds and motion sickness.

The cost is real

On this site, the hero headline originally animated with JavaScript. That meant the largest text on the page sat invisible until the bundle had loaded, parsed and run — 2.7 seconds of render delay on a throttled phone, measured. The same effect from a stylesheet paints on the first frame.

“If the animation delays the thing it is animating, it is not an enhancement.”
— A lesson we relearn regularly

And it has to be optional

Everything here checks prefers-reduced-motion. Not a lighter version — off. Content renders in its final state, smooth scrolling never initialises, pinned sections stop pinning. Someone who gets motion sick from a parallax should get a site, not an apology.

Keep reading

More notes.