{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "copy-button-demo",
  "title": "Copy Button: Command and labelled",
  "description": "An inline command and a labelled button.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.cuelark.com/r/copy-button.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/examples/copy-button-demo.tsx",
      "content": "import { CopyButton } from \"@/registry/cuelark/ui/copy-button\";\n\nexport default function CopyButtonDemo() {\n  const command = \"npx shadcn@latest add https://ui.cuelark.com/r/button.json\";\n  return (\n    <div className=\"grid w-full max-w-lg grid-cols-1 gap-4\">\n      <div className=\"flex items-center gap-2 rounded-lg border border-border bg-card py-1.5 ps-4 pe-1.5 shadow-control\">\n        <code className=\"min-w-0 flex-1 truncate font-mono text-xs\">{command}</code>\n        <CopyButton value={command} />\n      </div>\n      <CopyButton value=\"contact@cuelark.com\" label=\"Copy email\" variant=\"secondary\" className=\"w-fit\" />\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "copy-button",
    "example"
  ],
  "type": "registry:component"
}