Sabil UI

Search documentation

Search for a command to run...

Motion · Gesture & Overlay

Drawer

A sheet slides up from the bottom and can be flicked away. Velocity counts, not only distance.

Order #1043

Arriving tomorrow

Specs#

Easing--ease-drawer (0.32, 0.72, 0, 1)
Duration400ms open, 250ms close
Dismissoffset > 30% or velocity > 500px/s
OverscrolldragElastic 0.1 upward
Built withMotion

Guidelines#

Use for

  • Mobile actions and forms
  • Secondary flows that keep context

Avoid

  • Requiring a long drag to dismiss
  • A hard stop at the top edge — add friction instead