{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "downgrade-warning",
  "type": "registry:ui",
  "title": "Downgrade warning",
  "description": "Tailwind plan downgrade warning card with an amber border, a summary of what gets locked on the free plan, and Keep plan or Downgrade buttons.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/button.json",
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/downgrade-warning.tsx",
      "type": "registry:ui",
      "target": "components/ui/downgrade-warning.tsx",
      "content": "\"use client\"\nimport { Button } from \"@/components/ui/button\"\nimport { cn } from \"@/lib/utils\"\n\nfunction DowngradeWarning({ className }: { className?: string }) {\n  return (\n    <div data-slot=\"downgrade-warning\" className={cn(\"space-y-3 rounded-xl border border-warning/40 bg-surface p-4 shadow-highlight\", className)}>\n      <h3 className=\"text-sm font-medium text-fg\">Downgrade to Free?</h3>\n      <p className=\"text-sm leading-[1.55] text-fg-muted\">\n        Kinetic heroes, the client showcase kit, and Premium galleries soft-lock. Free product UI stays.\n      </p>\n      <div className=\"flex gap-2\">\n        <Button size=\"sm\" variant=\"outline\">Keep Premium</Button>\n        <Button size=\"sm\" variant=\"destructive\">Downgrade</Button>\n      </div>\n    </div>\n  )\n}\nexport { DowngradeWarning }\n"
    }
  ]
}
