{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-160",
  "type": "registry:component",
  "title": "Comp 160",
  "description": "Comp 160",
  "files": [
    {
      "path": "registry/ui-basic/comp-160.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Label } from \"@/components/ui/label\";\nimport { RadioGroup, RadioGroupItem } from \"@/components/ui/radio-group\";\n\nexport default function Component() {\n\tconst id = useId();\n\treturn (\n\t\t<RadioGroup className=\"gap-2\" defaultValue=\"1\">\n\t\t\t{/* Radio card #1 */}\n\t\t\t<div className=\"border-input has-data-[state=checked]:border-primary/50 relative flex w-full items-start gap-2 rounded-md border p-4 shadow-2xs outline-hidden\">\n\t\t\t\t<RadioGroupItem\n\t\t\t\t\tvalue=\"1\"\n\t\t\t\t\tid={`${id}-1`}\n\t\t\t\t\taria-describedby={`${id}-1-description`}\n\t\t\t\t\tclassName=\"order-1 after:absolute after:inset-0\"\n\t\t\t\t/>\n\t\t\t\t<div className=\"flex grow items-start gap-3\">\n\t\t\t\t\t<svg\n\t\t\t\t\t\tclassName=\"shrink-0\"\n\t\t\t\t\t\twidth={32}\n\t\t\t\t\t\theight={24}\n\t\t\t\t\t\tviewBox=\"0 0 32 24\"\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<rect width=\"32\" height=\"24\" rx=\"4\" fill=\"#252525\" />\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M19.0537 6.49742H12.9282V17.5026H19.0537V6.49742Z\"\n\t\t\t\t\t\t\tfill=\"#FF5A00\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"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\t\t\t\t\t\t\tfill=\"#EB001B\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"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\t\t\t\t\t\t\tfill=\"#F79E1B\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div className=\"grid grow gap-2\">\n\t\t\t\t\t\t<Label htmlFor={`${id}-1`}>\n\t\t\t\t\t\t\tLabel{\" \"}\n\t\t\t\t\t\t\t<span className=\"text-muted-foreground text-xs leading-[inherit] font-normal\">\n\t\t\t\t\t\t\t\t(Sublabel)\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</Label>\n\t\t\t\t\t\t<p\n\t\t\t\t\t\t\tid={`${id}-1-description`}\n\t\t\t\t\t\t\tclassName=\"text-muted-foreground text-xs\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tYou can use this card with a label and a description.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t{/* Radio card #2 */}\n\t\t\t<div className=\"border-input has-data-[state=checked]:border-primary/50 relative flex w-full items-start gap-2 rounded-md border p-4 shadow-2xs outline-hidden\">\n\t\t\t\t<RadioGroupItem\n\t\t\t\t\tvalue=\"2\"\n\t\t\t\t\tid={`${id}-2`}\n\t\t\t\t\taria-describedby={`${id}-2-description`}\n\t\t\t\t\tclassName=\"order-1 after:absolute after:inset-0\"\n\t\t\t\t/>\n\t\t\t\t<div className=\"flex grow items-start gap-3\">\n\t\t\t\t\t<svg\n\t\t\t\t\t\tclassName=\"shrink-0\"\n\t\t\t\t\t\twidth={32}\n\t\t\t\t\t\theight={24}\n\t\t\t\t\t\tviewBox=\"0 0 32 24\"\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<g clipPath=\"url(#vc-a)\">\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\tfill=\"#252525\"\n\t\t\t\t\t\t\t\td=\"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\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\tfill=\"#fff\"\n\t\t\t\t\t\t\t\td=\"m15.884 8.262-1.604 7.496h-1.94l1.604-7.496h1.94Z\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\tfill=\"#fff\"\n\t\t\t\t\t\t\t\tfillRule=\"evenodd\"\n\t\t\t\t\t\t\t\td=\"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\t\t\t\t\t\t\t\tclipRule=\"evenodd\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<path\n\t\t\t\t\t\t\t\tfill=\"#fff\"\n\t\t\t\t\t\t\t\td=\"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\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</g>\n\t\t\t\t\t\t<defs>\n\t\t\t\t\t\t\t<clipPath id=\"vc-a\">\n\t\t\t\t\t\t\t\t<path fill=\"#fff\" d=\"M0 0h32v24H0z\" />\n\t\t\t\t\t\t\t</clipPath>\n\t\t\t\t\t\t</defs>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div className=\"grid grow gap-2\">\n\t\t\t\t\t\t<Label htmlFor={`${id}-2`}>\n\t\t\t\t\t\t\tLabel{\" \"}\n\t\t\t\t\t\t\t<span className=\"text-muted-foreground text-xs leading-[inherit] font-normal\">\n\t\t\t\t\t\t\t\t(Sublabel)\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</Label>\n\t\t\t\t\t\t<p\n\t\t\t\t\t\t\tid={`${id}-2-description`}\n\t\t\t\t\t\t\tclassName=\"text-muted-foreground text-xs\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tYou can use this card with a label and a description.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</RadioGroup>\n\t);\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/label.tsx",
      "content": "\"use client\";\n\nimport React from \"react\";\n\nimport { cn } from \"@/registry/utilities/cn\";\nimport * as LabelPrimitive from \"@radix-ui/react-label\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nconst labelVariants = cva(\n\t\"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n);\n\nconst Label = React.forwardRef<\n\tReact.ElementRef<typeof LabelPrimitive.Root>,\n\tReact.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n\t\tVariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n\t<LabelPrimitive.Root\n\t\tref={ref}\n\t\tclassName={cn(labelVariants(), className)}\n\t\t{...props}\n\t/>\n));\nLabel.displayName = LabelPrimitive.Root.displayName;\n\nexport { Label };\n",
      "type": "registry:ui"
    },
    {
      "path": "registry/utilities/cn.ts",
      "content": "import { ClassValue, clsx } from \"clsx\";\r\nimport { twMerge } from \"tailwind-merge\";\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n\treturn twMerge(clsx(inputs));\r\n}\r\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/radio-group.tsx",
      "content": "\"use client\";\r\n\r\nimport React from \"react\";\r\n\r\nimport { cn } from \"@/registry/utilities/cn\";\r\nimport * as RadioGroupPrimitive from \"@radix-ui/react-radio-group\";\r\nimport { Circle } from \"lucide-react\";\r\n\r\nconst RadioGroup = React.forwardRef<\r\n\tReact.ElementRef<typeof RadioGroupPrimitive.Root>,\r\n\tReact.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>\r\n>(({ className, ...props }, ref) => {\r\n\treturn (\r\n\t\t<RadioGroupPrimitive.Root\r\n\t\t\tclassName={cn(\"grid gap-2\", className)}\r\n\t\t\t{...props}\r\n\t\t\tref={ref}\r\n\t\t/>\r\n\t);\r\n});\r\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName;\r\n\r\nconst RadioGroupItem = React.forwardRef<\r\n\tReact.ElementRef<typeof RadioGroupPrimitive.Item>,\r\n\tReact.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>\r\n>(({ className, ...props }, ref) => {\r\n\treturn (\r\n\t\t<RadioGroupPrimitive.Item\r\n\t\t\tref={ref}\r\n\t\t\tclassName={cn(\r\n\t\t\t\t\"aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",\r\n\t\t\t\tclassName\r\n\t\t\t)}\r\n\t\t\t{...props}\r\n\t\t>\r\n\t\t\t<RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\r\n\t\t\t\t<Circle className=\"h-2.5 w-2.5 fill-current text-current\" />\r\n\t\t\t</RadioGroupPrimitive.Indicator>\r\n\t\t</RadioGroupPrimitive.Item>\r\n\t);\r\n});\r\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;\r\n\r\nexport { RadioGroup, RadioGroupItem };\r\n",
      "type": "registry:ui"
    }
  ]
}