{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-226",
  "type": "registry:component",
  "title": "Comp 226",
  "description": "Comp 226",
  "files": [
    {
      "path": "registry/ui-basic/comp-226.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Label } from \"@/components/ui/label\";\nimport {\n\tSelect,\n\tSelectContent,\n\tSelectGroup,\n\tSelectItem,\n\tSelectLabel,\n\tSelectTrigger,\n\tSelectValue,\n} from \"@/components/ui/select\";\n\nexport default function Component() {\n\tconst id = useId();\n\treturn (\n\t\t<div className=\"not-first:*:mt-2\">\n\t\t\t<Label htmlFor={id}>Options with avatar</Label>\n\t\t\t<Select defaultValue=\"1\">\n\t\t\t\t<SelectTrigger\n\t\t\t\t\tid={id}\n\t\t\t\t\tclassName=\"ps-2 [&>span]:flex [&>span]:items-center [&>span]:gap-2 [&>span_img]:shrink-0\"\n\t\t\t\t>\n\t\t\t\t\t<SelectValue placeholder=\"Select framework\" />\n\t\t\t\t</SelectTrigger>\n\t\t\t\t<SelectContent className=\"[&_*[role=option]]:ps-2 [&_*[role=option]]:pe-8 [&_*[role=option]>span]:start-auto [&_*[role=option]>span]:inset-e-2 [&_*[role=option]>span]:flex [&_*[role=option]>span]:items-center [&_*[role=option]>span]:gap-2\">\n\t\t\t\t\t<SelectGroup>\n\t\t\t\t\t\t<SelectLabel className=\"ps-2\">Impersonate user</SelectLabel>\n\t\t\t\t\t\t<SelectItem value=\"1\">\n\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\tclassName=\"size-5 rounded\"\n\t\t\t\t\t\t\t\tsrc=\"/avatar-20-01.jpg\"\n\t\t\t\t\t\t\t\talt=\"Frank Allison\"\n\t\t\t\t\t\t\t\twidth={20}\n\t\t\t\t\t\t\t\theight={20}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<span className=\"truncate\">Jenny Hamilton</span>\n\t\t\t\t\t\t</SelectItem>\n\t\t\t\t\t\t<SelectItem value=\"2\">\n\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\tclassName=\"size-5 rounded\"\n\t\t\t\t\t\t\t\tsrc=\"/avatar-20-02.jpg\"\n\t\t\t\t\t\t\t\talt=\"Xavier Guerra\"\n\t\t\t\t\t\t\t\twidth={20}\n\t\t\t\t\t\t\t\theight={20}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<span className=\"truncate\">Paul Smith</span>\n\t\t\t\t\t\t</SelectItem>\n\t\t\t\t\t\t<SelectItem value=\"3\">\n\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\tclassName=\"size-5 rounded\"\n\t\t\t\t\t\t\t\tsrc=\"/avatar-20-03.jpg\"\n\t\t\t\t\t\t\t\talt=\"Anne Kelley\"\n\t\t\t\t\t\t\t\twidth={20}\n\t\t\t\t\t\t\t\theight={20}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<span className=\"truncate\">Luna Wyen</span>\n\t\t\t\t\t\t</SelectItem>\n\t\t\t\t\t</SelectGroup>\n\t\t\t\t</SelectContent>\n\t\t\t</Select>\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"
    }
  ]
}