{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/select-06","type":"registry:component","title":"Select 6","description":"A required native select dropdown with asterisk indicator","dependencies":["lucide-react"],"registryDependencies":["label","native-select","utils"],"files":[{"path":"src/registry/new-york/components/select/select-06.tsx","content":"import { useId } from 'react'\n\nimport { Label } from '@/registry/new-york/ui/label'\nimport { NativeSelect, NativeSelectOption } from '@/registry/new-york/ui/native-select'\n\nconst NativeSelectRequiredDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id} className='gap-1'>\n        Required native select <span className='text-destructive'>*</span>\n      </Label>\n      <NativeSelect id={id} required>\n        <NativeSelectOption value='1'>Action</NativeSelectOption>\n        <NativeSelectOption value='2'>Comedy</NativeSelectOption>\n        <NativeSelectOption value='3'>Romance</NativeSelectOption>\n        <NativeSelectOption value='4'>Thriller</NativeSelectOption>\n      </NativeSelect>\n    </div>\n  )\n}\n\nexport default NativeSelectRequiredDemo\n","type":"registry:component","target":"components/shadcn-studio/select/select-06.tsx"}]}