UI / UXMotion & InteractionInteractiveBeginner
Easing
KO: 이징·EN: Easing·JA: イージング
A timing function that defines acceleration and deceleration over time so UI animations feel physically natural rather than mechanical
Table of Contents
Interactive Playground
Tap or drag to interact with the demoQuick Answer
What is Easing?
A timing function that defines acceleration and deceleration over time so UI animations feel physically natural rather than mechanical. It is a core concept in Motion & Interaction within UI / UX.
Core Principles
In the physical world, objects rarely start at full speed or halt instantaneously—inertia and friction shape how they accelerate and settle. Easing models that non-linear relationship between elapsed time t and property progress using cubic-bezier(x1, y1, x2, y2) curves or physics-based spring equations.
- Linear: Constant speed from start to finish. Feels robotic for UI movement, but ideal for spinners, progress bars, and scroll-linked scrubbing.
- Ease-Out: Fast initial velocity tapering to a soft landing. Makes interfaces feel responsive and snappy when elements enter the viewport.
- Ease-In: Slow start accelerating out of view. Best reserved for elements exiting the screen.
- Ease-In-Out & Spring: Smooth acceleration and deceleration for on-screen state transitions, or velocity-preserving elasticity for direct-manipulation gestures.
Practical Takeaways
- Match the curve to the transition direction: Use a steep
ease-out(such ascubic-bezier(0.16, 1, 0.3, 1)) for entrances so the UI reacts immediately to clicks,ease-infor exits, andease-in-outfor elements moving across the screen. - Keep durations tight: Micro-interactions (hover states, toggles) work best at
120–200ms, while drawers and modals feel crisp at250–350ms. Exceeding500msmakes an app feel sluggish regardless of the curve. - Use springs for interruptible gestures: Fixed-duration Bézier curves ignore gesture velocity when a user flicks a bottom sheet. Spring physics (
stiffness,damping) inherit momentum seamlessly and handle mid-flight reversals without jank.
Notable Examples
- iOS and macOS system transitions: Spring-driven app launches, rubber-band scrolling, and sheet dismissals that feel tactile and continuous.
- Material Design motion tokens: Standardized curves like
emphasized-decelerateandemphasized-acceleratebaked directly into component libraries. - Modals, popovers, and toasts: Short
ease-outtransitions that snap into focus quickly and settle gently without blocking the user.
Practical Code Snippet
Copy and drop straight into your projecteasing-curves.cssCSS· Cubic-Bezier Easing Presets for UI
:root { --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1); --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);} .modal-enter { transition: transform 280ms var(--ease-out-expo), opacity 200ms ease-out;}