Motion Part 2
Animation defines how an interface feels. Done well, it creates rhythm, feedback, and intent—guiding the user’s eye and reinforcing their cause and effect. Overdone, it clutters perception and slows the interface’s feel.
When crafted with restraint, motion becomes invisible—it just feels right. Here’re some personal notes that I think are worth writing down.
General Guidelines
Most UI animations live comfortably between ~200–300ms.1 That window feels quick yet readable. It allows the eye sufficient time to notice changes without making the interface feel sluggish.
- 150ms for hover transitions. The user’s attention is already on the element.
- 200ms enter / 150ms exit for popovers and modals. Pair with
ease-outorease-in-outcurves for natural responsiveness.- Tip: default to custom easing curves when built-in options feel too linear.
- Adjust based on spatial distance, interaction frequency, and tone.
- A gentle fade-in for success can feel calm; a sharp bounce can convey energy or urgency.
Transitions should serve comprehension, not decoration. Motion should clarify what changed and why—never just move pixels for spectacle.
On Easing
The curve defines character. It determines how an interface feels as much as how it looks.
ease-outshould be your default. It decelerates smoothly, mirroring the physics of a user lifting their finger or mouse. Ideal for most enter and exit transitions.ease-in-outstarts slow, accelerates, then settles. Use it when elements already on screen move or morph.- Avoid
ease-infor feedback animations—its delayed start can make an interface feel unresponsive. linearis purely mechanical. Reserve it for continuous or looping motion such as loading spinners.
Subtle adjustments to easing can convey personality. Custom cubic-bezier curves let you fine-tune pacing and brand tone—turning a generic movement into one that feels deliberate.
When Not to Animate
Motion can enrich experience, but too much introduces friction.
High-frequency interactions—like macOS context menus or the Raycast launcher—omit entrance animations entirely. These are tools you open dozens of times a day; even a 100 ms delay compounds into fatigue. Instant response feels faster and more natural.2
Frequent actions form muscle memory. Animation delays interrupt that rhythm, creating dissonance between intention and response.
In such contexts:
- Skip entrance animations. Use instant presentation; fade out if needed.
- Avoid submenu transitions or delayed hover effects.
- Prioritise comprehension and speed over flourish.3
A simple rule: if an element appears repeatedly throughout the day, keep it static. For rare or narrative moments—like onboarding or sign-in—motion can elevate perception and add warmth.
Always respect users who prefer reduced motion. Honour prefers-reduced-motion on the web or equivalent APIs on native platforms. Motion should be expressive, never imposed.
Taste and Restraint
Animation is storytelling in motion. Like film editing, every transition should serve the story—directing attention, pacing rhythm, and making the interface feel alive through intention, not excess.
Taste, in this context, is discernment. It’s knowing what to omit.
As Ken Kocienda writes, it’s the ability to form opinions with your gut that you can also justify with your head. Improving it means surrounding yourself with excellence:
observe great interfaces, read elegant code, slow down videos frame by frame, and study how easing, distance, and rhythm interact.
Taste grows from exposure and observation. The more you study why something feels right, the better your instincts become.
Ultimately, animation isn’t about flair—it’s about feeling.
Every frame should earn its place.
The average visual reaction time is 230 ms. This indicates that a duration of 200-300 ms is ideal for most animations, while 100-150 ms is effective for micro-interactions.
Interfaces that respond instantly are often perceived as more performant, even if they aren’t.
When used sparingly, animation helps communicate state changes, reduce ambiguity, and reinforce intent. The key is to stay out of the way.