A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.
Installation
Usage
<Dialog>
<DialogTrigger>Open</DialogTrigger>
<DialogContent>
<DialogHeader>
<DialogTitle>Are you absolutely sure?</DialogTitle>
<DialogDescription>
This action cannot be undone. This will permanently delete your account and remove your data from our servers.
</DialogDescription>
</DialogHeader>
</DialogContent>
</Dialog>Composition
Use the following composition to build a Dialog:
Dialog
├── DialogTrigger
└── DialogContent
├── DialogHeader
│ ├── DialogTitle
│ └── DialogDescription
└── DialogFooterCustom Close Button
Replace the default close control with your own button.
No Close Button
Use ShowCloseButton="false" to hide the close button.
Sticky Footer
Keep actions visible while the content scrolls.
Scrollable Content
Long content can scroll while the header stays in view.
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
Dialog
DialogClose
Other attributes are passed to the element it renders.
DialogContent
Other attributes are passed to the element it renders.
DialogDescription
Other attributes are passed to the element it renders.
DialogFooter
Other attributes are passed to the element it renders.
DialogHeader
Other attributes are passed to the element it renders.
DialogOverlay
Other attributes are passed to the element it renders.
DialogTitle
Other attributes are passed to the element it renders.
DialogTrigger
Other attributes are passed to the element it renders.