Alert dialog
Ce contenu n’est pas encore disponible dans votre langue.
Use an alert dialog when the person must decide before anything else happens and the action cannot be undone: delete, discard, revoke. The title names the action and the description states the consequence. The least destructive button has focus first. For a plain confirmation use ConfirmDialog, which composes it.
Behaviour
Section titled “Behaviour”Read from the component manifest, so this is the component’s own contract. See Overlays for layers, stacking and dismissal shared by all layers.
AlertDialog
Section titled “AlertDialog”| Stage | beta |
|---|---|
| Keyboard |
|
| Dismissal |
|
| Stacking | Opens over a dialog or a drawer (discard, delete); nothing opens over it; an AlertDialog may be a terminal third layer; no other third modal. |
| Accessibility |
|
| Pattern | APG: alertdialog |
| Docs | Storybook |
AlertDialogContent
Section titled “AlertDialogContent”| Stage | beta |
|---|---|
| Accessibility |
|
| Docs | Storybook |
ConfirmDialog
Section titled “ConfirmDialog”| Stage | beta |
|---|---|
| Keyboard |
|
| Dismissal |
|
| Stacking | Opens over a dialog or a drawer; nothing opens over it. |
| Accessibility |
|
| Pattern | APG: alertdialog |
| Docs | Storybook |
- Responsable
- Okrado founders
- Mis à jour le
- À revoir avant le