{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-160",
  "type": "registry:component",
  "registryDependencies": [
    "https://coss.com/origin/r/label.json",
    "https://coss.com/origin/r/radio-group.json"
  ],
  "files": [
    {
      "path": "registry/default/components/comp-160.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Label } from \"@/registry/default/ui/label\";\nimport { RadioGroup, RadioGroupItem } from \"@/registry/default/ui/radio-group\";\n\nexport default function Component() {\n  const id = useId();\n  return (\n    <RadioGroup className=\"gap-2\" defaultValue=\"1\">\n      {/* Radio card #1 */}\n      <div className=\"relative flex w-full items-start gap-2 rounded-md border border-input p-4 shadow-xs outline-none has-data-[state=checked]:border-primary/50\">\n        <RadioGroupItem\n          aria-describedby={`${id}-1-description`}\n          className=\"order-1 after:absolute after:inset-0\"\n          id={`${id}-1`}\n          value=\"1\"\n        />\n        <div className=\"flex grow items-start gap-3\">\n          <svg\n            aria-hidden=\"true\"\n            className=\"shrink-0\"\n            height={24}\n            viewBox=\"0 0 32 24\"\n            width={32}\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <rect fill=\"#252525\" height=\"24\" rx=\"4\" width=\"32\" />\n            <path\n              d=\"M19.0537 6.49742H12.9282V17.5026H19.0537V6.49742Z\"\n              fill=\"#FF5A00\"\n            />\n            <path\n              d=\"M13.3359 12C13.3359 9.76408 14.3871 7.77961 16 6.49741C14.8129 5.56408 13.3155 5 11.6822 5C7.81295 5 4.68221 8.13074 4.68221 12C4.68221 15.8693 7.81295 19 11.6822 19C13.3155 19 14.8129 18.4359 16 17.5026C14.3848 16.2385 13.3359 14.2359 13.3359 12Z\"\n              fill=\"#EB001B\"\n            />\n            <path\n              d=\"M27.3178 12C27.3178 15.8693 24.1871 19 20.3178 19C18.6845 19 17.1871 18.4359 16 17.5026C17.6333 16.2181 18.6641 14.2359 18.6641 12C18.6641 9.76408 17.6129 7.77961 16 6.49741C17.1848 5.56408 18.6822 5 20.3155 5C24.1871 5 27.3178 8.15113 27.3178 12Z\"\n              fill=\"#F79E1B\"\n            />\n          </svg>\n          <div className=\"grid grow gap-2\">\n            <Label htmlFor={`${id}-1`}>\n              Label{\" \"}\n              <span className=\"font-normal text-muted-foreground text-xs leading-[inherit]\">\n                (Sublabel)\n              </span>\n            </Label>\n            <p\n              className=\"text-muted-foreground text-xs\"\n              id={`${id}-1-description`}\n            >\n              You can use this card with a label and a description.\n            </p>\n          </div>\n        </div>\n      </div>\n      {/* Radio card #2 */}\n      <div className=\"relative flex w-full items-start gap-2 rounded-md border border-input p-4 shadow-xs outline-none has-data-[state=checked]:border-primary/50\">\n        <RadioGroupItem\n          aria-describedby={`${id}-2-description`}\n          className=\"order-1 after:absolute after:inset-0\"\n          id={`${id}-2`}\n          value=\"2\"\n        />\n        <div className=\"flex grow items-start gap-3\">\n          <svg\n            aria-hidden=\"true\"\n            className=\"shrink-0\"\n            height={24}\n            viewBox=\"0 0 32 24\"\n            width={32}\n            xmlns=\"http://www.w3.org/2000/svg\"\n          >\n            <g clipPath=\"url(#vc-a)\">\n              <path\n                d=\"M28 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h24a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4Z\"\n                fill=\"#252525\"\n              />\n              <path\n                d=\"m15.884 8.262-1.604 7.496h-1.94l1.604-7.496h1.94Z\"\n                fill=\"#fff\"\n              />\n              <path\n                clipRule=\"evenodd\"\n                d=\"M26.207 15.758H28l-1.567-7.496H24.78a.882.882 0 0 0-.826.55l-2.91 6.946h2.037l.404-1.12h2.488l.235 1.12Zm-2.165-2.656 1.021-2.815.587 2.815h-1.608Z\"\n                fill=\"#fff\"\n                fillRule=\"evenodd\"\n              />\n              <path\n                d=\"M21.144 13.31c.005-1.183-.975-1.698-1.76-2.11-.526-.276-.964-.506-.957-.861.007-.27.263-.555.823-.628.277-.036 1.044-.065 1.913.335l.34-1.59a5.23 5.23 0 0 0-1.815-.331c-1.917 0-3.265 1.018-3.276 2.477-.013 1.08.963 1.681 1.697 2.04.756.368 1.01.604 1.006.932-.005.503-.604.726-1.16.734-.945.015-1.506-.247-1.95-.454l-.042-.02-.352 1.643c.454.208 1.29.39 2.156.398 2.038 0 3.371-1.006 3.377-2.565ZM13.112 8.262 9.97 15.758H7.92L6.374 9.775c-.094-.368-.175-.503-.46-.658-.467-.253-1.237-.49-1.914-.638l.046-.217h3.3c.42 0 .798.28.894.763l.817 4.338 2.018-5.101h2.037Z\"\n                fill=\"#fff\"\n              />\n            </g>\n            <defs>\n              <clipPath id=\"vc-a\">\n                <path d=\"M0 0h32v24H0z\" fill=\"#fff\" />\n              </clipPath>\n            </defs>\n          </svg>\n          <div className=\"grid grow gap-2\">\n            <Label htmlFor={`${id}-2`}>\n              Label{\" \"}\n              <span className=\"font-normal text-muted-foreground text-xs leading-[inherit]\">\n                (Sublabel)\n              </span>\n            </Label>\n            <p\n              className=\"text-muted-foreground text-xs\"\n              id={`${id}-2-description`}\n            >\n              You can use this card with a label and a description.\n            </p>\n          </div>\n        </div>\n      </div>\n    </RadioGroup>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "tags": [
      "radio",
      "label",
      "card",
      "radix"
    ]
  }
}