- Components
- alert-dialog
Alert Dialog
Confirmation dialog pattern for destructive or high-impact actions using modal behavior.
Demo
Installation
Alert dialog relies on the modal system. Install and review modal usage first on the modal documentation page .
API
| Prop | Description |
|---|---|
x-ui.modal
and subcomponents
|
Alert dialog is implemented on top of modal primitives and behavior.
|
x-ui.modal.trigger
|
Element that opens the confirmation dialog.
|
x-ui.modal.content
|
Dialog surface with layout, sizing, and close behavior options.
|
x-ui.modal.header|title|description|footer
|
Structured slots for clear confirmation copy and actions.
|