Confirmation
Confirmation dialogs interrupt the user before an irreversible or destructive action to verify intent. Use them only for actions that cannot be undone.
When to use
Before irreversible or destructive actions (delete, remove, reset).
Style
- Title: name the action, not the outcome.
| Do | Don’t |
|---|---|
| Delete connection | This is permanent |
- Body: one sentence stating what will happen and whether it can be undone.
- Primary CTA: matches the title verb. For example, Delete.
- Secondary CTA: Cancel.
Do / Don’t
| Do | Don’t |
|---|---|
| Delete connection / This will remove the connection and cannot be undone. / Delete | Cancel | Warning! Are you sure? This action is permanent. / Yes | No |