Components
Sheet
Root component for a sheet (side panel). Manages open/closed state and accessibility. Import from "@instruments/materia-ui/components/sheet".
Usage
Best practices
Use
Sheetfor a simple edge panel holding a focused form / settings; a drag-to-dismiss bottom sheet is aDrawer, and nested panels are aSidepanel.Set the entry edge via
SheetContentside; always render aSheetTitle(wrap insr-onlyif hidden) so the panel is announced.
Props
SheetContent
SheetDescription
SheetOverlay
SheetTitle
Also exports
- component
Sheet - const
sheetAnatomy - component
SheetClose - component
SheetFooter - component
SheetHeader - component
SheetPortal - component
SheetTrigger