{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-238",
  "type": "registry:component",
  "title": "Comp 238",
  "description": "Comp 238",
  "files": [
    {
      "path": "registry/ui-basic/comp-238.tsx",
      "content": "\"use client\";\n\nimport { Label } from \"@/components/ui/label\";\nimport { ListBox, ListBoxItem } 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 multiple options</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-1 overflow-auto p-1 text-sm shadow-2xs transition-[color,box-shadow]\"\n\t\t\t\t\taria-label=\"Select framework\"\n\t\t\t\t\tselectionMode=\"multiple\"\n\t\t\t\t\tdefaultSelectedKeys={[\"react\", \"vue\"]}\n\t\t\t\t>\n\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\tid=\"react\"\n\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>\n\t\t\t\t\t\tReact\n\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\tid=\"vue\"\n\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>\n\t\t\t\t\t\tVue\n\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\tid=\"angular\"\n\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>\n\t\t\t\t\t\tAngular\n\t\t\t\t\t</ListBoxItem>\n\t\t\t\t\t<ListBoxItem\n\t\t\t\t\t\tid=\"svelte\"\n\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>\n\t\t\t\t\t\tSvelte\n\t\t\t\t\t</ListBoxItem>\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"
    }
  ]
}