# Application Profile and Account: Danger Zone Card

Ruled destructive rows for transfer, deactivate, and delete, each with its consequence, a sole owner guard, and an export reminder above.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/danger-zone-card
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Profile and Account](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/danger-zone-card.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-profile-account-danger-zone-card
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: badge, button
- Installs to: `@/components/blocks/application-pro/profile-account/danger-zone-card`

## About this block

Danger Zone Card gathers an account's irreversible actions
in one ruled panel: Transfer ownership, Deactivate
account, and Delete account, each with its consequence
stated plainly. An export reminder sits above the rows,
and the destructive Delete row is disabled behind a sole
owner guard that names the one step which unblocks it.

Actions are a typed const array; the destructive,
disabled, and guard flags drive the button variant, the
disabled state, and the inline warning. Delete stays
blocked until ownership moves, so the block never lets a
sole owner strand a workspace by accident.

## When to use

Reach for this block at the bottom of the account settings
page, wired to your account API. Confirm every action with
a typed confirmation step, and keep the sole owner guard
server-side so the disabled button cannot be forced.

A natural flow around it on an Application Pro page:

**Before**

- [Settings shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Account overview](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account)

**After**

- [Data export](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)
- [Billing settings](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing)

## What you can display

One strong use is the personal account danger zone. Other
destructive surfaces:

- **Workspace deletion.** Move these rows to org settings
  for an admin to close a whole workspace.
- **Data reset.** Add a wipe-content row that clears
  projects while keeping the account intact.
- **Plan downgrade.** Include a cancel-subscription row
  with the loss of paid features spelled out.

> Tip: name the exact blocker in the guard line so a stuck
> user knows the single step that unlocks deletion.

## More in Application Profile and Account

- [Account Overview Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/account-overview-card)
- [Account Switcher Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/account-switcher-blueprint)
- [Activity Summary Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/activity-summary-card)
- [Away Status Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/away-status-card)
- [Change Password Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/change-password-card)
- [Connected Identities Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/connected-identities-card)
- [Data Download Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/data-download-card)
- [Edit Profile Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/edit-profile-form)
- [Email Addresses Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/email-addresses-card)
- [Login History Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/login-history-table)
- [Notification Badge Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/notification-badge-row)
- [Preferences Summary](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/preferences-summary)
- [Profile Completion Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/profile-completion-card)
- [Profile Header](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/profile-header)
- [Public Profile Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/public-profile-card)
- [Sessions List Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/sessions-list-card)
- [Two Factor Status Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account/two-factor-status-card)
