Memorisely

Design tokens

Motion

Six motions, from a 100ms press to a 500ms travel. Enter decelerates. Exit accelerates. Anything that stays on screen and moves uses ease-move.

Buy now

Tokens

  • Linear

    Press, opacity, crossfade

    ease-linear100ms
  • Standard

    Hover, focus, colour

    ease-standard150ms
  • Decelerate

    Enter a dialog or sheet

    ease-decelerate300ms
  • Accelerate

    Leave the screen

    ease-accelerate300ms
  • Move

    Slide, drill, shared element

    ease-move400ms
  • Deliberate

    Large travel

    duration-deliberate500ms

Motion exists so designers, engineers, and AI start from the same decision. The preview on this page is the component as it ships. You compose it. You do not redraw it.

Use it when the job matches the name. Reach for a neighbour in the system when it does not. Names in Figma match the names in code, which is what keeps a prototype close to what actually ships.

Tokens

TokenValue
--motion-bgvar(--background)
--motion-fgvar(--foreground)
--motion-bordervar(--border)
--radius-md10px
--duration-fast120ms

Code

:root {
  --duration-fast: 100ms;
  --duration-default: 150ms;
  --duration-slow: 300ms;
  --duration-slower: 400ms;
  --duration-deliberate: 500ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-decelerate: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-accelerate: cubic-bezier(0.64, 0, 0.78, 0);
  --ease-move: cubic-bezier(0.83, 0, 0.17, 1);
}

Included

  • Curves
  • fast through deliberate