Skip to main content
UI/UX Prototyping – Complete Beginner to Advanced Guide
CHAPTER 08 Beginner

Animations and Microinteractions

Updated: May 16, 2026
30 min read

# CHAPTER 8

Animations and Microinteractions

1. Introduction

In the physical world, nothing happens instantly. If you drop a ball, it accelerates, hits the ground, squishes slightly, and bounces back up. The human brain is hardwired to understand this physical motion. When a digital interface completely ignores physics—when a menu snaps onto the screen in 0 milliseconds with no transition—the brain perceives it as jarring, unnatural, and cheap. Animation is not decoration; it is communication. In this chapter, we will master Animations and Microinteractions. We will learn how to wield Figma's powerful "Smart Animate" engine, understand the mathematics of "Easing Curves" (Ease-in, Ease-out), and utilize motion to guide the user's eye and establish spatial hierarchy.

2. Learning Objectives

By the end of this chapter, you will be able to:
  • Define the UX purpose of animation (Communication vs. Decoration).
  • Master Figma's "Smart Animate" feature to automatically interpolate motion.
  • Understand the physics of Easing Curves (Linear, Ease-In, Ease-Out).
  • Prototype complex microinteractions (e.g., a loading spinner, a success checkmark).
  • Avoid the catastrophic UX failure of "Over-Animation" (Motion Sickness).

3. The Purpose of UI Animation

Why do we animate?
  1. 1. Spatial Context: When a mobile screen slides in from the right, it tells the user they moved "forward." When it slides out to the right, it tells them they moved "back."
  1. 2. Attention Directing: The human eye is biologically programmed to instantly lock onto movement. If a user receives a new message, a subtle "bounce" animation on the notification bell guarantees they will see it.
  1. 3. State Change Feedback: When a user clicks a "Submit" button, fading the text out and fading a spinning loading circle in tells the user the system is working, preventing panic clicks.

4. Smart Animate (The Magic Engine)

Historically, animating UI meant manually drawing 30 frames of a button moving across a screen. Figma's Smart Animate calculates the math for you.
  • How it works: You have Screen A (A blue square on the left). You have Screen B (The identical blue square moved to the right and turned red).
  • If you wire Screen A to Screen B and set the animation to Smart Animate, Figma automatically calculates the trajectory, smoothly sliding the square across the screen while simultaneously blending the color from blue to red.
  • *The Crucial Rule:* For Smart Animate to work, the layers on both screens MUST have the exact same layer name. If it is named "Box 1" on Screen A and "Box 2" on Screen B, Figma will just make them crossfade; it will not physically move them.

5. The Physics of Easing Curves

Things in the real world do not move at a constant, robotic speed. A car takes time to accelerate, and time to decelerate (brake).
  • Linear: Robotic, constant speed. (Used almost exclusively for continuous loading spinners).
  • Ease-In: Starts slow, then accelerates. (Used for objects flying off the screen into the distance).
  • Ease-Out: Starts fast, then slows down to a gentle stop. (Used for objects entering the screen, like a modal popping up. *This is the most common and natural feeling curve for UI.*)
  • Ease-In-Out: Starts slow, moves fast in the middle, stops slow. (Used for objects moving from one side of the screen to the other).

6. Microinteractions (The Delight Factor)

Microinteractions are tiny, highly-crafted animations that trigger based on a single input.
  • *Example (The Like Button):* When you tap the heart on Instagram, it doesn't just instantly turn red. It scales up slightly (pops), turns red, and then scales back down to normal size. This takes 200 milliseconds. It is a moment of pure, engineered "delight."

7. Diagrams/Visual Suggestions

*Visual Concept: The Easing Curve Graph* Provide a visual representation of the 3 primary easing curves.
  • Linear: A straight diagonal line from bottom-left to top-right.
  • Ease-Out: A curve that shoots up quickly, then softly flattens out at the top right.
  • Ease-In-Out: An "S" shaped curve.
This visual helps students understand the velocity mathematics behind buttery-smooth UI motion.

8. Best Practices

  • Speed is King: The number one mistake beginners make is making animations too slow. If a dropdown menu takes 1 full second (1000ms) to open, the user will feel like the software is broken and laggy. UI Animations should almost always be between 150ms and 300ms. They should be felt, but barely consciously seen.

9. Common Mistakes

  • The "PowerPoint" Effect (Over-Animation): A junior designer discovers animations and decides that every time a new page loads, the title should bounce in from the top, the images should spin in from the left, and the buttons should flip upside down. *The Failure:* This causes cognitive overload, distracts from the content, and literally induces motion sickness in some users. *The Fix:* Good UI animation is invisible. It serves logic, not Hollywood spectacle.

10. Mini Project: Prototype a "Submit to Success" Button

Let's build a complex, multi-stage microinteraction.
  1. 1. Variant 1 (Default): A wide blue button with text [Submit].
  1. 2. Variant 2 (Loading): The button shrinks horizontally into a perfect blue circle. The text disappears. A white, circular loading spinner sits inside.
  1. 3. Variant 3 (Success): The circle turns green. The spinner disappears. A white Checkmark icon appears.
  1. 4. The Wiring:
  • Wire V1 to V2 (On Click -> Change To -> Smart Animate, Ease-Out, 300ms).
  • Wire V2 to V3 (After Delay (1500ms) -> Change To -> Smart Animate, Ease-Out, 300ms).
  1. 5. The Test: Drag V1 onto a screen and hit play. Click it. The button smoothly morphs into a loading circle, spins for 1.5 seconds, and then pops into a green success checkmark. You have engineered world-class tactile feedback.

11. Practice Exercises

  1. 1. Define the UX concept of a "Microinteraction." How does adding a 200ms "pop and scale" animation to a 'Like' button improve the user experience compared to an instant color swap?
  1. 2. Explain the fundamental difference between a "Linear" animation curve and an "Ease-Out" animation curve. Why do objects entering a digital screen feel more natural when using Ease-Out?

12. MCQs with Answers

Question 1

A UX designer wants a blue square on Screen A to smoothly slide across the screen and turn into a red circle on Screen B. They set the Figma interaction to "Smart Animate," but when they test it, the blue square just instantly crossfades into the red circle without moving. What is the most likely cause of this failure?

Question 2

When defining the duration (timing) of standard UI navigation animations—such as a dropdown menu opening or a hover state engaging—what is the mathematically proven industry standard timeframe to ensure the software feels fast and responsive, rather than laggy?

13. Interview Questions

  • Q: A developer complains that your prototype has "way too much animation" and feels like a chaotic PowerPoint presentation. Walk me through the philosophical difference between using animation for "Decoration" versus using it for "Communication."
  • Q: Explain the mechanics of Figma's "Smart Animate" feature. If you want a navigation bar to smoothly expand when clicked, exactly how must you set up the two frames and layer structures to ensure the engine calculates the math correctly?
  • Q: Walk me through the physics of an "Ease-Out" animation curve. Why is this specific mathematical velocity universally preferred for bringing UI elements (like modal pop-ups) onto a digital screen?

14. FAQs

Q: Can developers easily code the animations I build in Figma? A: Basic transitions (Ease-Out, 200ms) are incredibly easy to code using standard CSS transitions. However, complex, multi-stage Smart Animations involving dozens of moving parts are very difficult to code. You must always communicate with your engineering team to ensure your beautiful prototype isn't a technical nightmare to build.

15. Summary

In Chapter 8, we introduced the physics of time and velocity to our digital architecture. We rejected the jarring, unnatural physics of instant state changes, leveraging Figma's "Smart Animate" engine to seamlessly interpolate motion. We mastered the mathematical elegance of Easing Curves, ensuring our UI elements enter and exit the screen with the natural acceleration and deceleration expected by the human brain. Most importantly, we learned the discipline of restraint, utilizing Microinteractions to provide critical tactile feedback and delight, while avoiding the chaotic, nausea-inducing trap of over-animation.

16. Next Chapter Recommendation

Our components are interactive and beautifully animated. But what happens to these components when the user views the prototype on a massive monitor versus a tiny phone? Proceed to Chapter 9: Auto Layout and Responsive Prototypes.

Finish this Chapter

Save your progress on your learning path and prepare for coding interview challenges.

Discussion

Join the discussion

Log in or create a free account to participate.

Sort: ·