Design System
Overlays

Sheet

A panel that slides in from any edge of the screen — filters, detail views and secondary forms. Use it when the person still needs the context of the page behind.

Purpose

A Sheet keeps the page visible behind it, which is what separates it from Dialog. Set the edge with side: top, bottom, left or right.

Sides

All four edges are supported; the preview shows three. top mirrors bottom — a full-width panel sliding down from the upper edge. left and right are width-capped side panels; right is the default.

Structure

PropertyValue
Panel--background fill, --shadow-16, 1px border on the inner edge
Overlay#181c32 at 50% with a slight blur
Sidesside: top, bottom, left or right (default right)
Widthleft/right: 75% of the viewport up to 384px; top/bottom: full width
Padding24px
Title18px / Inter 600
Motion300ms slide from the chosen edge, ease-in-out

Best practices

Do

  • Use a sheet when the page behind is the context — filters, secondary detail; a self-contained task is a Dialog.
  • Keep side sheets at the default width — the 384px cap exists so the page stays readable behind.
  • Pair the primary action with a Cancel wired through SheetClose.

Don't

  • Open a sheet from inside another sheet or dialog — flatten the flow instead.
  • Widen a side sheet to most of the viewport; at that point it is a page.
  • Use it to confirm destructive actions — that is AlertDialog.

Accessibility & keyboard

  • Focus is trapped inside while open and returned to the trigger on close.
  • Give every sheet a SheetTitle — it is what screen readers announce.
  • The × button in the top corner carries a screen-reader-only "Close" label.
  • Keyboard: Esc closes; Tab cycles within the panel.
Every Sheet part and prop in Storybook

On this page