Back to Playbook

Animation

Guidelines for creating smooth, purposeful animations that enhance the user experience.

Why it matters

Animation is not just decoration; it's functional. It helps users build mental models of how the interface works by showing continuity between states. Good animation guides the eye, hints at affordances, and makes the interface feel responsive and polished.

Animation Playground

Test different animation properties to see how they affect the feel of an element appearing on screen.

Core Principles

Timing

Duration matters. Too fast is jarring; too slow is boring. 200-500ms is the sweet spot for UI transitions.

Easing

Objects in the real world don't start and stop instantly. Use easing (ease-out, ease-in-out) for natural movement.

Continuity

Elements should morph or move to their new position, helping users track the change in context.

Delight

Use animation to reward users for key actions, adding a layer of emotional connection.

Animation Checklist

  1. Performance

    Stick to transforming opacity and transform properties to ensure 60fps rendering.

  2. Reduced Motion

    Respect the user's prefers-reduced-motion setting by disabling or simplifying animations.

  3. Consistency

    Use a standard set of durations and easing curves across the application.

Previous: Micro-interactions Next: Feedback