patterns / 06Delete with a way back
Make destructive intent clear and offer immediate local recovery.
Live interface previewSession only Try the controlsUsage
- Name the target, focus Cancel first and keep the consequence brief.
- Show Undo after a completed local structural action.
Variants
CancelConfirm deleteUndoEmpty canvas
Preview states
ConfirmationCancelledDeletedUndo restoredNo elements
Integration boundary
- Local structural snapshots are not the full v1 edit history or a server deletion transaction.
Source modules 3
conceptualize/components/studio-v2/studio-library-patterns.tsxconceptualize/components/studio-v2/studio-feedback.tsxconceptualize/components/studio-v2/use-studio-document.ts