Skip to content
Tutorials Center
My learning

Topics

Lesson 25 of 36 ยท Prototyping and Interactions

Smart Animate and Easing

Learn how Figma Smart Animate matches layers by name, how easing and duration shape motion, and how to choose natural transitions.

Motion tells users what just happened. A panel that slides in from the right says "this came from over there"; a button that scales slightly says "I heard you". In Figma, the animation part of an interaction controls this. The most powerful option is Smart animate, which animates the differences between two frames automatically.

Figma cannot run on this site. The code here is a labelled JavaScript stand-in showing how matching, interpolation and easing work in principle. It is not Figma's rendering engine, and Figma's exact curves may differ slightly.

Animation types

When you add an interaction with Navigate to (or Open overlay, Change to), you choose an animation:

  • Instant: no animation, an immediate cut.
  • Dissolve: cross-fade between frames.
  • Smart animate: matches layers and animates their changes.
  • Move in / Move out, Push, Slide in / Slide out: directional transitions that follow platform conventions.

Each (except Instant) has a duration in milliseconds and an easing curve. Typical durations: 150 to 300 ms for small UI changes, 300 to 500 ms for full-screen transitions. Anything past 500 ms starts to feel slow.

How Smart animate matches layers

Smart animate compares the starting frame and the destination frame and looks for layers that exist in both. It matches by layer name and type, in the same hierarchy position. Matched layers animate their position, size, rotation, opacity, fill and corner radius from the old values to the new ones. Layers that exist in only one frame fade in or out.

This means:

  • Name layers deliberately. Two layers both called Rectangle 12 will match each other even if you did not intend it.
  • If matching fails, you get a dissolve instead of a smooth move. Check that names are identical and that the parent groups also match.
  • Text layers animate fills, but changing text content snaps rather than morphs.
flowchart LR
    A["Frame A<br/>card at x=0"] -- "match by name 'card'" --> B["Frame B<br/>card at x=240, wider"]
    A -- "no match" --> C["layer 'tooltip' fades out"]

Smart animate pairs layers by name and animates the differences.

Easing

Easing describes how fast the change progresses over time. Linear motion looks mechanical because nothing in the real world starts and stops instantly. Figma offers:

  • Linear: constant speed.
  • Ease in: starts slowly, ends fast. Use for things leaving the screen.
  • Ease out: starts fast, ends slowly. Use for things entering; it feels responsive.
  • Ease in and out: slow, fast, slow. Good for moves across the screen.
  • Back variants: overshoot a little for a playful feel.
  • Gentle, Quick, Bouncy, Slow: spring presets with physical feel.
  • Custom bezier and custom spring: your own control points or stiffness, damping and mass.

Rule of thumb: elements entering use ease out, elements leaving use ease in, elements moving use ease in and out.

Seeing easing as numbers

A progress value t goes from 0 to 1 over the duration. Easing is a function that remaps t. The stand-in below prints a button sliding 200 px under three easings.

JS Stand-in: how easing changes the same move

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Compare the rows: ease-out covers most of the distance early (it feels responsive), ease-in barely moves at first (it feels like acceleration).

Interpolating matched layers

Here is the matching step in miniature: find layers with identical names, then interpolate their properties. Layers without a partner are marked as fading.

JS Stand-in: match layers by name and interpolate

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Design guidance for motion

  • Be consistent. Choose one or two durations and easings for the product and apply them everywhere; define them in your design system.
  • Purposeful motion. Animate to explain a relationship (a card expanding into a detail view), not to decorate.
  • Respect reduced motion. Real products offer a reduced-motion preference. Prototypes cannot enforce it, but you should design a fallback such as dissolve.
  • Avoid overshoot on serious actions (payments, errors). Bouncy easing suits playful brands.
  • Mind loops. After delay with Smart animate can loop; add a stop if the demo is long.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. How does Smart animate decide which layers to animate between?

    Layers with the same name and type in the same hierarchy are matched.
  2. 2. Which easing is the best default for elements entering the screen?

    Ease out starts fast and settles, which feels responsive for entering elements.
  3. 3. What happens to a layer that exists only in the first frame during Smart animate?

    Unmatched layers fade in or out.
  4. 4. A sensible duration for a small UI change is usually...

    Short durations feel responsive; very long ones feel slow.

Summary

  • Interaction animations include Instant, Dissolve, Smart animate and directional transitions.
  • Smart animate matches layers by name and type and animates property changes.
  • Easing remaps progress: ease out for entering, ease in for leaving, ease in and out for movement.
  • Keep motion consistent, short and purposeful.

Next: Overlays, Scrolling and Conditions