{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-149",
  "type": "registry:component",
  "title": "Comp 149",
  "description": "Comp 149",
  "files": [
    {
      "path": "registry/ui-basic/comp-149.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Checkbox } from \"@/components/ui/checkbox\";\n\nexport default function Component() {\n\tconst id = useId();\n\n\tconst items = [\n\t\t{ value: \"1\", label: \"Monday\", defaultChecked: true },\n\t\t{ value: \"2\", label: \"Tuesday\", defaultChecked: true },\n\t\t{ value: \"3\", label: \"Wednesday\" },\n\t\t{ value: \"4\", label: \"Thursday\", defaultChecked: true },\n\t\t{ value: \"5\", label: \"Friday\", defaultChecked: true },\n\t\t{ value: \"6\", label: \"Saturday\" },\n\t\t{ value: \"7\", label: \"Sunday\", disabled: true },\n\t];\n\n\treturn (\n\t\t<fieldset className=\"space-y-4\">\n\t\t\t<legend className=\"text-foreground text-sm leading-none font-medium\">\n\t\t\t\tDays of the week\n\t\t\t</legend>\n\t\t\t<div className=\"flex gap-1.5\">\n\t\t\t\t{items.map((item) => (\n\t\t\t\t\t<label\n\t\t\t\t\t\tkey={`${id}-${item.value}`}\n\t\t\t\t\t\tclassName=\"border-input has-data-[state=checked]:border-primary has-data-[state=checked]:bg-primary has-data-[state=checked]:text-primary-foreground has-focus-visible:border-ring has-focus-visible:ring-ring/50 relative flex size-9 cursor-pointer flex-col items-center justify-center gap-3 rounded-full border text-center shadow-2xs transition-[color,box-shadow] outline-hidden has-focus-visible:ring-[3px] has-data-disabled:cursor-not-allowed has-data-disabled:opacity-50\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<Checkbox\n\t\t\t\t\t\t\tid={`${id}-${item.value}`}\n\t\t\t\t\t\t\tvalue={item.value}\n\t\t\t\t\t\t\tclassName=\"sr-only after:absolute after:inset-0\"\n\t\t\t\t\t\t\tdefaultChecked={item.defaultChecked}\n\t\t\t\t\t\t\tdisabled={item.disabled}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span aria-hidden=\"true\" className=\"text-sm font-medium\">\n\t\t\t\t\t\t\t{item.label[0]}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span className=\"sr-only\">{item.label}</span>\n\t\t\t\t\t</label>\n\t\t\t\t))}\n\t\t\t</div>\n\t\t</fieldset>\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"
    }
  ]
}