Components
Alert Dialog
BetaA window that asks a person to confirm a destructive or important action.
Details
Interrupts to confirm a consequential action (delete, discard, revoke): no close button, and a click outside does not close it. Focus starts on the safe action and the question is announced at once (role="alertdialog"). It is the Dialog with two fixed actions, Cancel and the action named by its verb ("Delete project"); Escape cancels. The window, its motion, its stacking and its phone layout are the Dialog's. Controlled or uncontrolled.
Behaviour from Ark UI, the dialog machine of Zag.