Destructive account actions
Make destructive actions understandable before they happen.
Replace habitual confirmation dialogs with readbacks, typed acknowledgements and recovery windows that match the consequence of the action.
A small safety layer for one real flow.
- View component
Type to Confirm
Requires a deliberate typed acknowledgement for irreversible actions.
- View component
Account Deletion Readback
Names what will be removed before an account is deleted.
- View component
Undo Toast
Leaves a short, visible recovery path after a reversible change.
One command for this flow
Install the danger-zone pack.
Start with the related components, then edit the copied source in your own product.
npx shadcn@latest add @bollard/danger-zone-packAdd the Bollard namespace once
Merge this into your project's components.json. Then every Bollard install can use the short command.
{
"registries": {
"@bollard": "https://bollard-ui.vercel.app/r/{name}.json"
}
}