{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-224",
  "type": "registry:component",
  "title": "Comp 224",
  "description": "Comp 224",
  "files": [
    {
      "path": "registry/ui-basic/comp-224.tsx",
      "content": "import { useId } from \"react\";\r\n\r\nimport { Label } from \"@/components/ui/label\";\r\nimport {\r\n\tSelect,\r\n\tSelectContent,\r\n\tSelectItem,\r\n\tSelectTrigger,\r\n\tSelectValue,\r\n} from \"@/components/ui/select\";\r\n\r\nexport default function Component() {\r\n\tconst id = useId();\r\n\treturn (\r\n\t\t<div className=\"not-first:*:mt-2\">\r\n\t\t\t<Label htmlFor={id}>Select with description and right indicator</Label>\r\n\t\t\t<Select defaultValue=\"2\">\r\n\t\t\t\t<SelectTrigger id={id} className=\"data-desc:**:hidden\">\r\n\t\t\t\t\t<SelectValue placeholder=\"Choose a plan\" />\r\n\t\t\t\t</SelectTrigger>\r\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\">\r\n\t\t\t\t\t<SelectItem value=\"1\">\r\n\t\t\t\t\t\tStandard Plan\r\n\t\t\t\t\t\t<span\r\n\t\t\t\t\t\t\tclassName=\"text-muted-foreground mt-1 block text-xs\"\r\n\t\t\t\t\t\t\tdata-desc\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tIdeal for individuals\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</SelectItem>\r\n\t\t\t\t\t<SelectItem value=\"2\">\r\n\t\t\t\t\t\tPro Plan\r\n\t\t\t\t\t\t<span\r\n\t\t\t\t\t\t\tclassName=\"text-muted-foreground mt-1 block text-xs\"\r\n\t\t\t\t\t\t\tdata-desc\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tFor professional users\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</SelectItem>\r\n\t\t\t\t\t<SelectItem value=\"3\">\r\n\t\t\t\t\t\tEnterprise Plan\r\n\t\t\t\t\t\t<span\r\n\t\t\t\t\t\t\tclassName=\"text-muted-foreground mt-1 block text-xs\"\r\n\t\t\t\t\t\t\tdata-desc\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tBuilt for large teams\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</SelectItem>\r\n\t\t\t\t</SelectContent>\r\n\t\t\t</Select>\r\n\t\t</div>\r\n\t);\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"
    },
    {
      "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"
    }
  ]
}