Destructive Actions
Actions that remove or destroy, which need separation in space, distinct styling and a recovery path.
Definition
A destructive action removes data or causes an effect the user cannot easily reverse. The design obligations are to make it hard to trigger accidentally, obvious in consequence, and recoverable wherever technically possible.
Expert heuristic. A review criterion developed by practitioners. Useful and widely taught, but evaluated by judgement rather than measurement.
On this plate
Reach for this when
- Any action that removes data.
- Bulk operations.
- Account and workspace deletion.
- An action removes something the reader could not recreate.
Common mistakes
- Delete adjacent to a frequent action.
- No recovery path.
- Undo that expires too quickly.
Layered protection, cheapest first
- 1.Separate it in space from frequently used actions, which removes most accidental triggers at zero cost.
- 2.Style it distinctly, using the danger colour plus text, never colour alone.
- 3.Make it recoverable: soft delete with a restore window is almost always achievable.
- 4.Offer undo immediately after, in a persistent inline message rather than a vanishing toast.
- 5.Confirm, only if it is genuinely irreversible.
- 6.Require typed confirmation, only if it is catastrophic.
Designing deletion
Do
- Prefer archive or soft delete, with a stated restore window.
- Show what will be destroyed, including anything that goes with it.
- Separate the destructive control from the ones beside it.
- Say what has happened afterwards, and where it went.
Do not
- Put delete next to the most-used action in a row menu.
- Delete children silently along with the parent.
- Use red styling as the only protection.
- Offer undo for something that cannot actually be undone.
Choosing how permanent to be
| Approach | Use when | Also required |
|---|---|---|
| Archive | The item has value as a record and is unlikely to be wanted in the list | A route back to archived items that people can actually find. |
| Soft delete with a window | The default for almost everything a person deletes | The window stated at the moment of deletion, and a trash that empties predictably. |
| Hard delete | The reader asked for erasure, or retention rules require it | A statement of what else goes with it, and what is kept for legal reasons. |
| Anonymise | Activity must survive but the person must not be identifiable | Saying what remains visible to others afterwards. |
| Export, then delete | Accounts, workspaces, anything a person spent months building | The export finished and downloaded before the deletion runs. |
Deleting an account, in order
The highest-stakes destructive flow in most products, and the one most often designed as a single red button.
- 1
Say what will be destroyed
Data, shared content, other people's access to it, and anything that belongs to a team rather than to this person.
- 2
Offer the lesser action
Pause, downgrade or leave the team. A large share of deletion attempts are actually one of these, and offering them is help rather than obstruction.
- 3
Offer the export first
Deleting an account without a way to take the data out makes the decision irreversible in a way the reader may not have understood.
- 4
Confirm deliberately
Typing the account name, or re-entering the password, proportional to what is being lost.
- 5
Soft delete, then erase
A stated recovery window, then permanent erasure, with a message confirming it happened and what was retained for legal reasons.
In practice
- i.
Delete in the overflow menu
ListsMoving delete out of the row and into an overflow menu removes the most common accidental deletion without meaningfully reducing discoverability.
- ii.
And everything inside it
CascadeDeleting a project removed forty documents nobody had mentioned in the dialogue. Stating the count, and listing what goes with it, is the difference between a decision and an accident.
Local chart
PAT·009 · Region III · Grid F2
This entry and the entries it is stated to connect with. Each line is labelled with what the connection means.
Continue from here
Each link says what the connection is, so you can tell a principle from an alternative from a thing people mix this up with.
Applies when you are designing
Principles behind this
The reasoning this solution is an application of.
- Error PreventionHEUR·005 · Heuristic
- User Control and FreedomHEUR·003 · Heuristic
- Fitts's LawLAW·002 · Law
- ForgivenessPRIN·006 · Principle
- EmphasisFND·018 · UI foundation
Often used with
These usually appear in the same screen or the same decision.
- ButtonCMP·001 · Component
- MenuCMP·018 · Component
- ToastCMP·014 · Component
- Bulk ActionsPAT·017 · Pattern
- ConfirmationPAT·008 · Pattern
- Settings and PreferencesPAT·025 · Pattern
- UndoPAT·022 · Pattern
Related concept
Connected closely enough to change how you apply this.
- Button and Action LabelsWRT·008 · UX writing
- Confirmation and Destructive CopyWRT·012 · UX writing