Alert Dialog
This action cannot be undone. This permanently deletes your project and removes all related data. Use RzAlertDialog provides a blocking confirmation modal for destructive or high-priority actions. It uses the shared modal primitive and Alpine.js behavior from rzModal. By default it disables Escape-key and outside-click dismissal.Are you absolutely sure?
AlertDialogTrigger with AsChild to wrap any trigger element.<RzAlertDialog>
<AlertDialogTrigger AsChild>
<RzButton Variant="ThemeVariant.Warning">Open Alert</RzButton>
</AlertDialogTrigger>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>Confirm action</AlertDialogTitle>
<AlertDialogDescription>Please review before continuing.</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction>Continue</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</RzAlertDialog>Component Parameter Description Default RzAlertDialogCloseOnEscapeAllows closing with Escape. falseRzAlertDialogCloseOnClickOutsideAllows closing by clicking backdrop. falseAlertDialogContentSizeControls max width of content panel. ModalSize.Large