Skip to content
English
Motion feels stiff31 / 71

Grow from the trigger

What goes wrong

A menu that fades in out of nowhere loses its link with the button that opened it.

The fix

Scale menus and popovers out of the corner that touches their trigger.

Tell your AI

Set transform-origin on menus and popovers to the corner that touches the trigger (top right for a menu under a right-aligned button) and animate from scale(0.96) and opacity 0 over var(--ds-duration-base) (240ms) with var(--ds-ease-out).

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

Review onboarding copy

Due Thu · 2 of 3 done

grows from its own middle