{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "select-06",
  "title": "With description only items",
  "description": "Options show a bold label and a muted description sub-line; the trigger shows only the label after selection.",
  "dependencies": [],
  "registryDependencies": [
    "select"
  ],
  "files": [
    {
      "path": "registry/patterns/select/select-06.tsx",
      "content": "'use client'\n\nimport {\n  Select,\n  SelectContent,\n  SelectGroup,\n  SelectItem,\n  SelectTrigger,\n  SelectValue,\n} from '@/components/ui/select'\nimport { useState } from 'react'\n\nexport function Select06() {\n  const [value, setValue] = useState('free')\n\n  const items = [\n    {\n      value: 'free',\n      label: 'Free',\n      description: 'Up to 3 projects, 1 user',\n    },\n    {\n      value: 'pro',\n      label: 'Pro',\n      description: 'Unlimited projects, 5 users',\n    },\n    {\n      value: 'team',\n      label: 'Team',\n      description: 'Unlimited projects, 20 users',\n    },\n  ]\n\n  return (\n    <Select value={value} onValueChange={(value) => setValue(value ?? '')}>\n      <SelectTrigger className=\"w-full max-w-64\">\n        <SelectValue placeholder=\"Select a plan\">\n          {value && items.find((item) => item.value === value)?.label}\n        </SelectValue>\n      </SelectTrigger>\n      <SelectContent>\n        <SelectGroup>\n          {items.map((item) => (\n            <SelectItem key={item.value} value={item.value}>\n              <span className=\"flex flex-col gap-0.5\">\n                <span className=\"text-sm font-medium\">{item.label}</span>\n                <span className=\"text-muted-foreground text-xs font-normal\">\n                  {item.description}\n                </span>\n              </span>\n            </SelectItem>\n          ))}\n        </SelectGroup>\n      </SelectContent>\n    </Select>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/flx/patterns/select/select-06.tsx"
    }
  ],
  "type": "registry:block"
}