Sabil UI

Search documentation

Search for a command to run...

Motion · Interaction

Press

Pressable elements scale down slightly while held. It tells the user the interface heard them.

Without

With scale(0.97)

Card
Card

Specs#

Propertytransform: scale(0.97)
Duration150ms
Easing--ease-out
Trigger:active
Built withCSS only

Guidelines#

Use for

  • Buttons, toggles, cards that act as buttons
  • Any element the user clicks or taps

Avoid

  • Scale below 0.95 — it looks like the element is collapsing
  • Scaling on hover instead of press