Displays a confirmation modal window above the page contents.
This component inherits parts and props from the Radix Alert Dialog primitive and is visually identical to Dialog, though with differing semantics and behavior. View source
Contains content to be rendered in the open alert dialog. This component is based on the div
element.
An accessible title that is announced when the alert dialog is opened. This part is based on the Heading component with a pre-defined font size and leading trim on top.
An optional accessible description that is announced when the dialog is opened. This part is based on the Text component with a pre-defined font size.
If you want to remove the description entirely, remove this part and pass aria-describedby={undefined}
to AlertDialog.Content
.
Wraps the control that will close the dialog. This should be distinguished visually from the Cancel
control.
Wraps the control that will close the dialog. This should be distinguished visually from the Action
control.