Skip to content
English
Motion feels stiff28 / 71

Durations from the scale

What goes wrong

Durations picked by feel, a slow switch here and an instant drawer there, make the product feel sluggish in one place and jumpy in the next.

The fix

Take every duration from a short scale: the bigger the thing and the further it travels, the longer it takes.

Tell your AI

Use var(--ds-duration-fast) (160ms) for hover states and switches, var(--ds-duration-base) (240ms) for menus, tabs and accordions, and var(--ds-duration-slow) (360ms) for drawers and dialogs; never hard-code a millisecond value.

  • --ds-duration-fast160ms
  • --ds-duration-base240ms
  • --ds-duration-slow360ms
Why AI-generated UIs all look the same: 12 rules that fix it

How long each move takes

picked by feel
Switch720ms
Menu1000ms
Drawer80ms