{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-159",
  "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-159.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=\"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      {/* 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=\"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    </RadioGroup>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "tags": [
      "radio",
      "label",
      "card",
      "radix"
    ]
  }
}