{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "upgrade-prompt",
  "type": "registry:ui",
  "title": "Upgrade prompt",
  "description": "Upgrade prompt card with a title, a short description of what the paid plan unlocks and an Upgrade button. Place it where a free user hits a gated feature.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/button.json",
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/upgrade-prompt.tsx",
      "type": "registry:ui",
      "target": "components/ui/upgrade-prompt.tsx",
      "content": "\"use client\"\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\n\nfunction UpgradePrompt({\n  title = \"Unlock Premium moments\",\n  description = \"Keep free product UI. Soft-gate kinetic heroes when the first screen has to convert.\",\n  className,\n}: {\n  title?: string\n  description?: string\n  className?: string\n}) {\n  return (\n    <div\n      data-slot=\"upgrade-prompt\"\n      className={cn(\n        \"rounded-xl border border-border bg-surface p-5 shadow-highlight\",\n        className\n      )}\n    >\n      <h3 className=\"text-sm font-medium text-fg\">{title}</h3>\n      <p className=\"mt-1 text-sm leading-[1.55] text-fg\">{description}</p>\n      <div className=\"mt-4\">\n        <Button size=\"sm\">Upgrade</Button>\n      </div>\n    </div>\n  )\n}\nexport { UpgradePrompt }\n"
    }
  ]
}
