Components · Actions · Button
Back to Button typesDestructive Button
Use for actions that can cause data loss or other irreversible consequences.
Properties
Size, content, corner radius and label are properties of the button component, not separate buttons - change them below to check this button's style, variation and states in the Live Preview.
Live Preview
All 8 types compared side by side, each in all 6 states. One full matrix is rendered per selected combination of Size, Content and Corner radius - check more than one option in a dropdown to see every combination side by side.
When to use Destructive
An action with irreversible consequences, like deleting a record or discarding unsaved work.
Component Guide
Overview
Destructive Button is a deliberately alarming, danger-colored button reserved for actions that cause irreversible consequences - deleting a record, discarding unsaved work, or canceling a subscription. Its color is the first and fastest signal a user gets that the action can't be easily undone.
When to Use
- Deleting or permanently removing data - Delete, Remove, Terminate.
- Actions that discard the user's own work - Discard changes, Reset a form.
- Canceling something with real consequences - Cancel Subscription, Revoke access.
When Not to Use
- Any action that is easily reversible - use Primary or Secondary instead - reserving red for real danger keeps it meaningful.
- As a generic "important" button - Destructive communicates risk, not priority; a merely important-but-safe action should stay Primary.
- Multiple destructive actions competing in the same view - surface only the one the user is actually about to take, typically behind a confirmation step.
Best Practices
- Pair it with an explicit confirmation step (a Modal or Pop Confirm) for anything truly irreversible, rather than firing on a single click.
- Use a specific verb, not a bare "Yes" - "Delete project" communicates the consequence, "Yes" does not.
- Never use Destructive styling for a safe action just to make it stand out - it trains users to distrust the color's warning.
Do and Don't
Do
Paired with an easy way out, and used only for the one action that actually destroys something.
Don't
Logging out is reversible in one click. Reserving red for genuinely destructive actions is what makes it trustworthy when it does appear.
Accessibility
- Never rely on color alone to communicate danger - the label text itself should name the consequence (Delete, not just a trash icon).
- Same native <button> keyboard and focus behavior as every other type, with a visible focus ring in the danger color.
- When paired with a confirmation dialog, focus should move into that dialog so keyboard and screen-reader users aren't left on the original trigger.
Related Components
Primary Button, Modal (for a confirmation step), Pop Confirm (for a lightweight inline confirmation).
{
"component": "Button",
"type": "Destructive",
"category": "Actions",
"summary": "Destructive Button is a deliberately alarming, danger-colored button reserved for actions that cause irreversible consequences - deleting a record, discarding unsaved work, or canceling a subscription. Its color is the first and fastest signal a user gets that the action can't be easily undone.",
"whenToUse": [
"Deleting or permanently removing data - Delete, Remove, Terminate.",
"Actions that discard the user's own work - Discard changes, Reset a form.",
"Canceling something with real consequences - Cancel Subscription, Revoke access."
],
"whenNotToUse": [
"Any action that is easily reversible - use Primary or Secondary instead - reserving red for real danger keeps it meaningful.",
"As a generic \"important\" button - Destructive communicates risk, not priority; a merely important-but-safe action should stay Primary.",
"Multiple destructive actions competing in the same view - surface only the one the user is actually about to take, typically behind a confirmation step."
],
"bestPractices": [
"Pair it with an explicit confirmation step (a Modal or Pop Confirm) for anything truly irreversible, rather than firing on a single click.",
"Use a specific verb, not a bare \"Yes\" - \"Delete project\" communicates the consequence, \"Yes\" does not.",
"Never use Destructive styling for a safe action just to make it stand out - it trains users to distrust the color's warning."
],
"doAndDont": {
"do": "Paired with an easy way out, and used only for the one action that actually destroys something.",
"dont": "Logging out is reversible in one click. Reserving red for genuinely destructive actions is what makes it trustworthy when it does appear."
},
"accessibility": [
"Never rely on color alone to communicate danger - the label text itself should name the consequence (Delete, not just a trash icon).",
"Same native <button> keyboard and focus behavior as every other type, with a visible focus ring in the danger color.",
"When paired with a confirmation dialog, focus should move into that dialog so keyboard and screen-reader users aren't left on the original trigger."
],
"relatedComponents": [
"Primary Button",
"Modal",
"Pop Confirm"
]
}