{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-20",
  "type": "registry:component",
  "registryDependencies": [
    "https://coss.com/origin/r/input.json",
    "https://coss.com/origin/r/label.json"
  ],
  "files": [
    {
      "path": "registry/default/components/comp-20.tsx",
      "content": "import { DownloadIcon } from \"lucide-react\";\nimport { useId } from \"react\";\n\nimport { Input } from \"@/registry/default/ui/input\";\nimport { Label } from \"@/registry/default/ui/label\";\n\nexport default function Component() {\n  const id = useId();\n  return (\n    <div className=\"*:not-first:mt-2\">\n      <Label htmlFor={id}>Input with end icon button</Label>\n      <div className=\"flex rounded-md shadow-xs\">\n        <Input\n          className=\"-me-px flex-1 rounded-e-none shadow-none focus-visible:z-10\"\n          id={id}\n          placeholder=\"Email\"\n          type=\"email\"\n        />\n        <button\n          aria-label=\"Subscribe\"\n          className=\"inline-flex w-9 items-center justify-center rounded-e-md border border-input bg-background text-muted-foreground/80 text-sm outline-none transition-[color,box-shadow] hover:bg-accent hover:text-accent-foreground focus:z-10 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50\"\n          type=\"button\"\n        >\n          <DownloadIcon aria-hidden=\"true\" size={16} />\n        </button>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "tags": [
      "input",
      "label",
      "button"
    ]
  }
}