{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-49",
  "type": "registry:component",
  "dependencies": [
    "react-payment-inputs"
  ],
  "devDependencies": [
    "@types/react-payment-inputs"
  ],
  "registryDependencies": [
    "https://coss.com/origin/r/input.json",
    "https://coss.com/origin/r/label.json"
  ],
  "files": [
    {
      "path": "registry/default/components/comp-49.tsx",
      "content": "\"use client\";\n\nimport { useId } from \"react\";\nimport { usePaymentInputs } from \"react-payment-inputs\";\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  const { getCVCProps } = usePaymentInputs();\n\n  return (\n    <div className=\"*:not-first:mt-2\">\n      <Label htmlFor={`cvc-${id}`}>Code</Label>\n      <Input\n        {...getCVCProps()}\n        className=\"[direction:inherit]\"\n        id={`cvc-${id}`}\n      />\n      <p\n        aria-live=\"polite\"\n        className=\"mt-2 text-muted-foreground text-xs\"\n        role=\"region\"\n      >\n        Built with{\" \"}\n        <a\n          className=\"underline hover:text-foreground\"\n          href=\"https://github.com/medipass/react-payment-inputs\"\n          rel=\"noreferrer noopener nofollow\"\n          target=\"_blank\"\n        >\n          React Payment Inputs\n        </a>\n      </p>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "tags": [
      "input",
      "label",
      "checkout",
      "payment",
      "credit card",
      "form"
    ]
  }
}