Extends the Dialog component to display content that complements the main content of the screen.
Installation
Usage
<Sheet>
<SheetTrigger>Open</SheetTrigger>
<SheetContent>
<SheetHeader>
<SheetTitle>Are you absolutely sure?</SheetTitle>
<SheetDescription>This action cannot be undone.</SheetDescription>
</SheetHeader>
</SheetContent>
</Sheet>Composition
Use the following composition to build a Sheet:
Sheet
├── SheetTrigger
└── SheetContent
├── SheetHeader
│ ├── SheetTitle
│ └── SheetDescription
└── SheetFooterSide
Use the Side parameter on SheetContent to set the edge of the screen where the sheet appears. Values are top, right, bottom, or left.
No Close Button
Use ShowCloseButton="false" on SheetContent to hide the close button.
RTL
To enable RTL support in Blazix, see the RTL configuration guide.
Translated with AI for the demo, so it may have mistakes.
API Reference
Sheet
SheetClose
Other attributes are passed to the element it renders.
SheetContent
Other attributes are passed to the element it renders.
SheetDescription
Other attributes are passed to the element it renders.
SheetFooter
Other attributes are passed to the element it renders.
SheetHeader
Other attributes are passed to the element it renders.
SheetOverlay
Other attributes are passed to the element it renders.
SheetPortal
SheetTitle
Other attributes are passed to the element it renders.
SheetTrigger
Other attributes are passed to the element it renders.