{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "danger-zone",
  "type": "registry:ui",
  "title": "Danger zone",
  "description": "Danger zone settings card with a red outline, a warning that the action cannot be undone and a destructive delete button. Put it last on settings pages.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/button.json",
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/danger-zone.tsx",
      "type": "registry:ui",
      "target": "components/ui/danger-zone.tsx",
      "content": "\"use client\"\nimport { Button } from \"@/components/ui/button\"\nimport { cn } from \"@/lib/utils\"\n\nfunction DangerZone({ className }: { className?: string }) {\n  return (\n    <div data-slot=\"danger-zone\" className={cn(\"rounded-xl border border-danger/35 bg-surface p-4 shadow-highlight\", className)}>\n      <h3 className=\"text-sm font-medium text-danger\">Danger zone</h3>\n      <p className=\"mt-1 text-sm text-fg-muted\">Delete this workspace and every registry fork tied to it. This cannot be undone.</p>\n      <Button className=\"mt-4\" size=\"sm\" variant=\"destructive\">Delete workspace</Button>\n    </div>\n  )\n}\nexport { DangerZone }\n"
    }
  ]
}
