A destructive confirmation should slow people down just enough. These dialogs sit over workspace settings and confirm deleting a whole workspace: they list what will be lost, link to an export first, ask the person to type the workspace name and tick an acknowledgement, and keep the red Delete button disabled until both are done. Every example is an original design that comes with its HTML code and a DESIGN.md of colour, type and spacing tokens, in light and dark. Free to use and adapt.
16 examples
For actions that cannot be undone and have a large impact, such as deleting an account, a workspace or many records. For reversible actions, act immediately and offer Undo.
It stops muscle-memory clicks and makes sure the person knows which item they are deleting, which matters when several look alike.
Keep the platform convention for button order, but make the destructive button visually distinct with the danger colour and a specific label.
App screens
UI components
Website sections
Website templates
search_ui_screens (e.g. “billing settings, editorial style”), get_ui_flow for a whole journey, and get_ui_screen_code to pull the HTML and DESIGN.md straight into your project.