Confirmation Dialogs are modals that ask users to confirm destructive or important actions before proceeding—deleting data, leaving without saving, canceling subscriptions. Prevents accidents. Includes clear message, consequences, and two buttons (Confirm/Cancel). Cancel should be default focus.
Use confirmation dialogs for destructive actions (delete, cancel subscription, leave without saving), irreversible changes, or expensive operations. Make message specific: "Delete 3 issues?" not "Are you sure?". Explain consequences: "This will permanently delete all data." Use danger color (red) for destructive button. Focus Cancel by default (safety).
Feedback Patterns
Destructive action guard preventing accidents with clear Yes/No choice