Skip to main content
Brand and assets
BuildMonitor and contribute
/
Brand and assets
  • Foundations
    • The brand
    • Logo
    • Colors
    • Typography
    • Styles
    • Shadows & radii
    • Spacing & grid
    • Gradients
    • Styling & the sx prop
    • Color tokens
    • More
    • Accessibility
  • Assets
    • Overview
    • Icons
    • Illustrations
    • 3D universe
    • Motion
    • Visuals & backgrounds
  • AI references
  • Assets
  • Motion

Motion tokens

Motion tokens define how UI elements move — combining an easing curve and a duration. All tokens are prefixed with $ and follow the pattern $ease{Easing}Duration{Size}.

You don't have to pick one by hand

Ask Claude Code or Hopper instead: the animate skill knows these tokens, Alan's motion guidelines, and the matching easing and duration variables in the 📐 Foundations Figma library. Describe what should move and how it should feel — "make this sheet slide up the way the rest of Murray does" — and it picks the token, explains why in a line, and writes the code or guides the Figma prototype.

It also covers the parts that are easy to forget: the matching exit, reduced motion, and which curves must never touch opacity.

Usage​

Pass a motion token to the animation prop on any animated Tamagui component, then use enterStyle to define the start state:

<Box animation="$easeDefaultDurationMd" enterStyle={{ opacity: 0, y: 8 }} opacity={1} />
cubic-bezier(0.6, 0, 0.4, 1) 200ms
Animated with $easeDefaultDurationMd

All tokens​

  • All tokens
  • Easings
  • Durations
  • Examples
  • Do / Don't
  • Curves

Motion tokens combine an easing curve and a duration. Use them via the animation prop on any animated Tamagui component (e.g. animation="$easeDefaultDurationMd").

TokenEasingDurationPreview
$easeDefaultDurationXscubic-bezier(0.6, 0, 0.4, 1)(Default)100ms(xs)
$easeDefaultDurationSmcubic-bezier(0.6, 0, 0.4, 1)(Default)150ms(sm)
$easeDefaultDurationMdcubic-bezier(0.6, 0, 0.4, 1)(Default)200ms(md)
$easeDefaultDurationLgcubic-bezier(0.6, 0, 0.4, 1)(Default)250ms(lg)
$easeDefaultDurationXlcubic-bezier(0.6, 0, 0.4, 1)(Default)300ms(xl)
$easeDefaultDurationXxlcubic-bezier(0.6, 0, 0.4, 1)(Default)500ms(xxl)
$easeMoveInDurationXscubic-bezier(0.2, 1, 0.4, 1)(Move In)100ms(xs)
$easeMoveInDurationSmcubic-bezier(0.2, 1, 0.4, 1)(Move In)150ms(sm)
$easeMoveInDurationMdcubic-bezier(0.2, 1, 0.4, 1)(Move In)200ms(md)
$easeMoveInDurationLgcubic-bezier(0.2, 1, 0.4, 1)(Move In)250ms(lg)
$easeMoveInDurationXlcubic-bezier(0.2, 1, 0.4, 1)(Move In)300ms(xl)
$easeMoveInDurationXxlcubic-bezier(0.2, 1, 0.4, 1)(Move In)500ms(xxl)
$easeMoveOutDurationXscubic-bezier(0.6, 0, 0.8, 0)(Move Out)100ms(xs)
$easeMoveOutDurationSmcubic-bezier(0.6, 0, 0.8, 0)(Move Out)150ms(sm)
$easeMoveOutDurationMdcubic-bezier(0.6, 0, 0.8, 0)(Move Out)200ms(md)
$easeMoveOutDurationLgcubic-bezier(0.6, 0, 0.8, 0)(Move Out)250ms(lg)
$easeMoveOutDurationXlcubic-bezier(0.6, 0, 0.8, 0)(Move Out)300ms(xl)
$easeMoveOutDurationXxlcubic-bezier(0.6, 0, 0.8, 0)(Move Out)500ms(xxl)
$easeEmphasizedDurationXscubic-bezier(0.1, 0.6, 0.3, 2)(Emphasized)100ms(xs)
$easeEmphasizedDurationSmcubic-bezier(0.1, 0.6, 0.3, 2)(Emphasized)150ms(sm)
$easeEmphasizedDurationMdcubic-bezier(0.1, 0.6, 0.3, 2)(Emphasized)200ms(md)
$easeEmphasizedDurationLgcubic-bezier(0.1, 0.6, 0.3, 2)(Emphasized)250ms(lg)
$easeEmphasizedDurationXlcubic-bezier(0.1, 0.6, 0.3, 2)(Emphasized)300ms(xl)
$easeEmphasizedDurationXxlcubic-bezier(0.1, 0.6, 0.3, 2)(Emphasized)500ms(xxl)
$easeLinearDurationXscubic-bezier(0, 0, 1, 1)(Linear)100ms(xs)
$easeLinearDurationSmcubic-bezier(0, 0, 1, 1)(Linear)150ms(sm)
$easeLinearDurationMdcubic-bezier(0, 0, 1, 1)(Linear)200ms(md)
$easeLinearDurationLgcubic-bezier(0, 0, 1, 1)(Linear)250ms(lg)
$easeLinearDurationXlcubic-bezier(0, 0, 1, 1)(Linear)300ms(xl)
$easeLinearDurationXxlcubic-bezier(0, 0, 1, 1)(Linear)500ms(xxl)

Five easing curves, combinable with any duration. Click a preview to play.

NameUseWhen to usePreview (250ms)
DefaultMove, Morph, Shrink, PopElement stays visible throughout. Hero transitions, buttons, icons, container moves — or when in doubt.
Move InMove inElement enters view. Modals, input errors, bottom sheets, snackbars.
Move OutMove outElement leaves view. Closing modals, bottom sheet exit.
EmphasizedSpring (overshoot)Button or icon press, or entries that need overshoot.
LinearFade in/out, colorColor and opacity changes. Easing is imperceptible at short durations.

Six durations, from extra-short (xs) to extra-extra-large (xxl).

ScaleValueWhen to usePreview (Default easing)
xs100msQuick, utility-focused transitions.
sm150msHover states and small element feedback.
md200msMovements across a medium part of the screen, or expressive easing.
lg250msElements crossing a larger portion of the screen, or when md feels rushed.
xl300msBig, expressive transitions — pairs well with emphasized easing.
xxl500msSlow, deliberate transitions for large surfaces like sheets and full-screen panels.

Realistic UI patterns using their recommended tokens. Click Replay on each to preview.

Modal entering
$easeMoveInDurationXl
Modal title
Modal body content
CancelConfirm
Badge appearing
$easeDefaultDurationMd
Notifications
3
Tooltip fading in
$easeLinearDurationXl
Hover target
Helpful tooltip
Button springing in
$easeEmphasizedDurationXl
Button hover state
$easeDefaultDurationSm

Using the wrong easing for an entering element makes motion feel unnatural. Same modal, different easing.

Use the right easing direction for entering elements
✗ Don't — $easeMoveOutDurationLg
Modal title
Modal body content
CancelConfirm

MoveOut on an entering element feels sluggish — it decelerates before it arrives, robbing the entrance of energy.

✓ Do — $easeMoveInDurationLg
Modal title
Modal body content
CancelConfirm

MoveIn starts fast and decelerates into place — natural and purposeful, like an object arriving.

Use the right easing direction for exiting elements
✗ Don't — $easeMoveInDurationLg
Notification
Your file was saved.

MoveIn on an exit decelerates as it leaves — the element lingers and feels stuck rather than departing.

✓ Do — $easeMoveOutDurationLg
Notification
Your file was saved.

MoveOut accelerates as it exits — fast start, clean departure, doesn't overstay its welcome.

Don't use durations that are too short for spatial movement
✗ Don't — $easeMoveInDurationXs
Modal title
Modal body content
CancelConfirm

100ms is too fast for a large element moving into view — it's jarring and easy to miss entirely.

✓ Do — $easeMoveInDurationLg
Modal title
Modal body content
CancelConfirm

250ms gives the eye enough time to track the motion and understand where the element came from.

Don't use Linear easing for spatial movement
✗ Don't — $easeLinearDurationLg
Modal title
Modal body content
CancelConfirm

Linear movement has no acceleration or deceleration — it feels mechanical and unnatural.

✓ Do — $easeMoveInDurationLg
Modal title
Modal body content
CancelConfirm

Curved easing mimics how objects move in the physical world — accelerating then settling into place.

Each curve plots progress (y-axis) against time (x-axis). Dashed lines show the control points that shape the curve. The Emphasized curve intentionally overshoots above 1 before settling — this produces the spring/bounce feel.

Edit this page
Previous
3D universe
Next
Visuals & backgrounds
  • Usage
  • All tokens