{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-146",
  "type": "registry:component",
  "title": "Comp 146",
  "description": "Comp 146",
  "files": [
    {
      "path": "registry/ui-basic/comp-146.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Checkbox } from \"@/components/ui/checkbox\";\nimport { Label } from \"@/components/ui/label\";\n\nexport default function Component() {\n\tconst id = useId();\n\treturn (\n\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<Checkbox\n\t\t\t\tid={id}\n\t\t\t\tclassName=\"order-1 after:absolute after:inset-0\"\n\t\t\t\taria-describedby={`${id}-description`}\n\t\t\t/>\n\t\t\t<div className=\"flex grow items-center gap-3\">\n\t\t\t\t<svg\n\t\t\t\t\tclassName=\"shrink-0\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\twidth={32}\n\t\t\t\t\theight={32}\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t>\n\t\t\t\t\t<circle cx=\"16\" cy=\"16\" r=\"16\" fill=\"#121212\" />\n\t\t\t\t\t<g clipPath=\"url(#sb-a)\">\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\tfill=\"url(#sb-b)\"\n\t\t\t\t\t\t\td=\"M17.63 25.52c-.506.637-1.533.287-1.545-.526l-.178-11.903h8.003c1.45 0 2.259 1.674 1.357 2.81l-7.637 9.618Z\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\tfill=\"url(#sb-c)\"\n\t\t\t\t\t\t\tfillOpacity=\".2\"\n\t\t\t\t\t\t\td=\"M17.63 25.52c-.506.637-1.533.287-1.545-.526l-.178-11.903h8.003c1.45 0 2.259 1.674 1.357 2.81l-7.637 9.618Z\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\tfill=\"#3ECF8E\"\n\t\t\t\t\t\t\td=\"M14.375 6.367c.506-.638 1.532-.289 1.544.525l.078 11.903H8.094c-1.45 0-2.258-1.674-1.357-2.81l7.638-9.618Z\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t\t<defs>\n\t\t\t\t\t\t<linearGradient\n\t\t\t\t\t\t\tid=\"sb-b\"\n\t\t\t\t\t\t\tx1=\"15.907\"\n\t\t\t\t\t\t\tx2=\"23.02\"\n\t\t\t\t\t\t\ty1=\"15.73\"\n\t\t\t\t\t\t\ty2=\"18.713\"\n\t\t\t\t\t\t\tgradientUnits=\"userSpaceOnUse\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<stop stopColor=\"#249361\" />\n\t\t\t\t\t\t\t<stop offset=\"1\" stopColor=\"#3ECF8E\" />\n\t\t\t\t\t\t</linearGradient>\n\t\t\t\t\t\t<linearGradient\n\t\t\t\t\t\t\tid=\"sb-c\"\n\t\t\t\t\t\t\tx1=\"12.753\"\n\t\t\t\t\t\t\tx2=\"15.997\"\n\t\t\t\t\t\t\ty1=\"11.412\"\n\t\t\t\t\t\t\ty2=\"17.519\"\n\t\t\t\t\t\t\tgradientUnits=\"userSpaceOnUse\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<stop />\n\t\t\t\t\t\t\t<stop offset=\"1\" stopOpacity=\"0\" />\n\t\t\t\t\t\t</linearGradient>\n\t\t\t\t\t\t<clipPath id=\"sb-a\">\n\t\t\t\t\t\t\t<path fill=\"#fff\" d=\"M6.354 6h19.292v20H6.354z\" />\n\t\t\t\t\t\t</clipPath>\n\t\t\t\t\t</defs>\n\t\t\t\t</svg>\n\t\t\t\t<div className=\"grid gap-2\">\n\t\t\t\t\t<Label htmlFor={id}>\n\t\t\t\t\t\tLabel{\" \"}\n\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(Sublabel)\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</Label>\n\t\t\t\t\t<p\n\t\t\t\t\t\tid={`${id}-description`}\n\t\t\t\t\t\tclassName=\"text-muted-foreground text-xs\"\n\t\t\t\t\t>\n\t\t\t\t\t\tA short description goes here.\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/checkbox.tsx",
      "content": "\"use client\";\r\n\r\nimport React from \"react\";\r\n\r\nimport { cn } from \"@/registry/utilities/cn\";\r\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\r\nimport { Check } from \"lucide-react\";\r\n\r\nconst Checkbox = React.forwardRef<\r\n\tReact.ElementRef<typeof CheckboxPrimitive.Root>,\r\n\tReact.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>\r\n>(({ className, ...props }, ref) => (\r\n\t<CheckboxPrimitive.Root\r\n\t\tref={ref}\r\n\t\tclassName={cn(\r\n\t\t\t\"peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground\",\r\n\t\t\tclassName\r\n\t\t)}\r\n\t\t{...props}\r\n\t>\r\n\t\t<CheckboxPrimitive.Indicator\r\n\t\t\tclassName={cn(\"flex items-center justify-center text-current\")}\r\n\t\t>\r\n\t\t\t<Check className=\"h-4 w-4\" />\r\n\t\t</CheckboxPrimitive.Indicator>\r\n\t</CheckboxPrimitive.Root>\r\n));\r\nCheckbox.displayName = CheckboxPrimitive.Root.displayName;\r\n\r\nexport { Checkbox };\r\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/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"
    }
  ]
}