Skip to content

Sheet

An edge panel

Sheet is Dialog with a different name, and SheetContent takes the same side. The rename exists so a call site says which shape it means; there is only one implementation to keep honest.

From the left

A left sheet is where navigation goes on a narrow viewport — AppShell already does exactly this, moving the Sidebar, the search control and the account menu into one below md.

API

Sheet declares no components of its own: every part is Dialog's, renamed. One implementation, and a call site that reads as what it is.

  • Sheet → Dialog
  • SheetTrigger → DialogTrigger
  • SheetContent → DialogContent
  • SheetTitle → DialogTitle
  • SheetClose → DialogClose