{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/select-20","type":"registry:component","title":"Select 20","description":"A custom select dropdown with disabled individual options","registryDependencies":["label","select"],"files":[{"path":"src/registry/new-york/components/select/select-20.tsx","content":"import { useId } from 'react'\n\nimport { Label } from '@/registry/new-york/ui/label'\nimport {\n  Select,\n  SelectContent,\n  SelectGroup,\n  SelectItem,\n  SelectLabel,\n  SelectTrigger,\n  SelectValue\n} from '@/registry/new-york/ui/select'\n\nconst SelectDisabledOptionDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Disabled options select</Label>\n      <Select defaultValue='apple'>\n        <SelectTrigger id={id} className='w-full'>\n          <SelectValue placeholder='Select a fruit' />\n        </SelectTrigger>\n        <SelectContent>\n          <SelectGroup>\n            <SelectLabel>Fruits</SelectLabel>\n            <SelectItem value='apple'>Apple</SelectItem>\n            <SelectItem value='banana' disabled>\n              Banana\n            </SelectItem>\n            <SelectItem value='blueberry'>Blueberry</SelectItem>\n            <SelectItem value='grapes' disabled>\n              Grapes\n            </SelectItem>\n            <SelectItem value='pineapple'>Pineapple</SelectItem>\n          </SelectGroup>\n        </SelectContent>\n      </Select>\n    </div>\n  )\n}\n\nexport default SelectDisabledOptionDemo\n","type":"registry:component","target":"components/shadcn-studio/select/select-20.tsx"}]}