Floating sheet

One task at a time. Floats 8 from the edges, radius 44; the grabber closes it.

Sell mihao
Balance $1.68
$1.68

Specs

Every value is a token from Foundations. The names match Figma and the Flutter file.

Inset
8 from the screen edges (layout/sheet-inset)
Shape
radius 44 (radius/sheet)
Padding
16 sides (inset/sheet), 32 bottom (inset/sheet-bottom)
Header
56 tall, 52 slots, centred title
Grabber
36 × 5, 120 × 44 hit area, closes the first page
Scrim
bg/scrim + 2px blur
Motion
up 300ms on the drawer curve, down 200ms; drag down 64pt or flick to close
Drag
follows at 60% of the finger; the scrim lightens with the pull (to 30% at 280pt), so what is behind returns first
Grabber
the bar widens 25% under a press

Usage

Do

  • One sheet at a time; swap content inside it.
  • Keep the action at the bottom, clear of the home indicator.

Don't

  • Don't open a sheet over a sheet.
  • Don't put a × on the first page; the grabber closes it.

Accessibility

  • role=dialog, aria-modal, focus moves into it and returns on close.
  • The grabber is a real button named "Close".
  • Focus: a 2px focus/ring 2px outside the shape, for keyboard and switch control only. Targets are 44pt or more.