Use Undo when
The action is frequent and reversible. Do it instantly and offer a way back for a few seconds.
Signs it fits
- Archive, move, mark as done
- Happens many times a day
- Can genuinely be reversed
- A trash or soft delete exists
Use Confirm when
The action is rare and permanent. Slow people down once, and say exactly what will happen on the button.
Signs it fits
- Permanent deletion
- Affects other people or money
- Rare enough to actually be read
- The button names the outcome, never OK