Popups / headless primitive
AlertDialog
A modal decision that cannot be dismissed accidentally.
AlertDialog / interactiveFluid · fits available space
Semantic parts
Spread each part getter onto the matching element, then style its stable state attributes.
triggerportalbackdropviewportpopuptitledescriptioncloseKeyboard guidance
Open the alert with its button. The modal traps focus while open; Cancel and Delete are ordinary buttons. Outside presses do not dismiss this alert.
Keys from the Clank controller contract, with preview and configuration notes. Disabled or read-only controls may prevent changes.
- Escape
- Close the topmost layer
- Tab
- Move within a trapped focus scopeWhile open in modal mode, as shown in this preview. Shift+Tab moves backward.