Skip to content
Haze UI

Motion

Easing presets, duration rules, native transition-discrete overlay motion, and automatic reduced-motion fallbacks.

Principles

  • Motion explains cause and effect: what opened, what changed, and where it came from.
  • Name the exact properties (transition-colors, transition-[opacity,scale,translate]), never transition-all.
  • Menu items use a 75 ms highlight transition so keyboard and pointer sweeps never lag behind.
  • Every animation and transition switches off automatically under prefers-reduced-motion: reduce.

Easing presets

PresetValuesUse it for
ease-snappycubic-bezier(0.22, 1, 0.36, 1) · 150–200msHovers, popovers, dialogs, and sliding tab or toggle indicators.
ease-springcubic-bezier(0.34, 1.56, 0.64, 1) · 200–280msSmall confirmation marks that pop in: checkboxes, radio dots, copied ticks, and rotating chevrons.
ease-smoothcubic-bezier(0.65, 0, 0.35, 1) · 300–1400msContinuous loops and indeterminate progress bars.
Catalog

↑↓ moveEnter openEsc close

Keyboard shortcuts

CtrlK
Command palette
/
Focus search
←↑→↓
Move between cards
jk
Next / previous card
ci
Copy code / install command (detail page)
[]
Previous / next entry
?
This help
Esc
Close dialog