{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-239",
  "type": "registry:component",
  "title": "Comp 239",
  "description": "Comp 239",
  "files": [
    {
      "path": "registry/ui-basic/comp-239.tsx",
      "content": "\"use client\";\n\nimport { Label } from \"@/components/ui/label\";\nimport {\n\tHeader,\n\tListBox,\n\tListBoxItem,\n\tListBoxSection,\n\tSeparator,\n} from \"react-aria-components\";\n\nexport default function Component() {\n\treturn (\n\t\t<div className=\"not-first:*:mt-2\">\n\t\t\t<Label>Listbox with option groups</Label>\n\t\t\t<div className=\"border-input overflow-hidden rounded-md border\">\n\t\t\t\t<ListBox\n\t\t\t\t\tclassName=\"bg-background max-h-72 min-h-20 space-y-2 overflow-auto p-1 text-sm shadow-2xs transition-[color,box-shadow]\"\n\t\t\t\t\taria-label=\"Select some foods\"\n\t\t\t\t\tselectionMode=\"multiple\"\n\t\t\t\t\tdefaultSelectedKeys={[\"lettuce\", \"tuna\"]}\n\t\t\t\t>\n\t\t\t\t\t<ListBoxSection className=\"space-y-1\">\n\t\t\t\t\t\t<Header className=\"text-muted-foreground px-2 py-1.5 text-xs font-medium\">\n\t\t\t\t\t\t\tVeggies\n\t\t\t\t\t\t</Header>\n\t\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\t\tid=\"lettuce\"\n\t\t\t\t\t\t\tclassName=\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-focus-visible:border-ring data-focus-visible:ring-ring/50 relative rounded px-2 py-1.5 outline-hidden data-disabled:cursor-not-allowed data-disabled:opacity-50 data-focus-visible:ring-[3px]\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tLettuce\n\t\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\t\tid=\"tomato\"\n\t\t\t\t\t\t\tclassName=\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-focus-visible:border-ring data-focus-visible:ring-ring/50 relative rounded px-2 py-1.5 outline-hidden data-disabled:cursor-not-allowed data-disabled:opacity-50 data-focus-visible:ring-[3px]\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tTomato\n\t\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\t\tid=\"onion\"\n\t\t\t\t\t\t\tclassName=\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-focus-visible:border-ring data-focus-visible:ring-ring/50 relative rounded px-2 py-1.5 outline-hidden data-disabled:cursor-not-allowed data-disabled:opacity-50 data-focus-visible:ring-[3px]\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tOnion\n\t\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t</ListBoxSection>\n\t\t\t\t\t<Separator className=\"bg-border -mx-1 my-2 h-px\" />\n\t\t\t\t\t<ListBoxSection className=\"space-y-1\">\n\t\t\t\t\t\t<Header className=\"text-muted-foreground px-2 py-1.5 text-xs font-medium\">\n\t\t\t\t\t\t\tProtein\n\t\t\t\t\t\t</Header>\n\t\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\t\tid=\"ham\"\n\t\t\t\t\t\t\tclassName=\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-focus-visible:border-ring data-focus-visible:ring-ring/50 relative rounded px-2 py-1.5 outline-hidden data-disabled:cursor-not-allowed data-disabled:opacity-50 data-focus-visible:ring-[3px]\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tHam\n\t\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\t\tid=\"tuna\"\n\t\t\t\t\t\t\tclassName=\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-focus-visible:border-ring data-focus-visible:ring-ring/50 relative rounded px-2 py-1.5 outline-hidden data-disabled:cursor-not-allowed data-disabled:opacity-50 data-focus-visible:ring-[3px]\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tTuna\n\t\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\t\tid=\"tofu\"\n\t\t\t\t\t\t\tclassName=\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-focus-visible:border-ring data-focus-visible:ring-ring/50 relative rounded px-2 py-1.5 outline-hidden data-disabled:cursor-not-allowed data-disabled:opacity-50 data-focus-visible:ring-[3px]\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tTofu\n\t\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t</ListBoxSection>\n\t\t\t\t\t<Separator className=\"bg-border -mx-1 my-2 h-px\" />\n\t\t\t\t\t<ListBoxSection className=\"space-y-1\">\n\t\t\t\t\t\t<Header className=\"text-muted-foreground px-2 py-1.5 text-xs font-medium\">\n\t\t\t\t\t\t\tCondiments\n\t\t\t\t\t\t</Header>\n\t\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\t\tid=\"mayo\"\n\t\t\t\t\t\t\tclassName=\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-focus-visible:border-ring data-focus-visible:ring-ring/50 relative rounded px-2 py-1.5 outline-hidden data-disabled:cursor-not-allowed data-disabled:opacity-50 data-focus-visible:ring-[3px]\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tMayonaise\n\t\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\t\tid=\"mustard\"\n\t\t\t\t\t\t\tclassName=\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-focus-visible:border-ring data-focus-visible:ring-ring/50 relative rounded px-2 py-1.5 outline-hidden data-disabled:cursor-not-allowed data-disabled:opacity-50 data-focus-visible:ring-[3px]\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tMustard\n\t\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\t\tid=\"ranch\"\n\t\t\t\t\t\t\tclassName=\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-focus-visible:border-ring data-focus-visible:ring-ring/50 relative rounded px-2 py-1.5 outline-hidden data-disabled:cursor-not-allowed data-disabled:opacity-50 data-focus-visible:ring-[3px]\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tRanch\n\t\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t</ListBoxSection>\n\t\t\t\t</ListBox>\n\t\t\t</div>\n\t\t\t<p\n\t\t\t\tclassName=\"text-muted-foreground mt-2 text-xs\"\n\t\t\t\trole=\"region\"\n\t\t\t\taria-live=\"polite\"\n\t\t\t>\n\t\t\t\tBuilt with{\" \"}\n\t\t\t\t<a\n\t\t\t\t\tclassName=\"hover:text-foreground underline\"\n\t\t\t\t\thref=\"https://react-spectrum.adobe.com/react-aria/ListBox.html\"\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener nofollow\"\n\t\t\t\t>\n\t\t\t\t\tReact Aria\n\t\t\t\t</a>\n\t\t\t</p>\n\t\t</div>\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"
    }
  ]
}