{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/select-09","type":"registry:component","title":"Select 9","description":"A native select dropdown with inset label design and custom styling","dependencies":["lucide-react"],"registryDependencies":["label","native-select","utils"],"files":[{"path":"src/registry/new-york/components/select/select-09.tsx","content":"import { useId } from 'react'\n\nimport { NativeSelect, NativeSelectOption } from '@/registry/new-york/ui/native-select'\n\nconst NativeSelectWithInsetLabelDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='border-input bg-background focus-within:border-ring focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 relative w-full max-w-xs rounded-md border shadow-xs transition-[color,box-shadow] outline-none focus-within:ring-[3px] has-[select:disabled]:cursor-not-allowed has-[select:disabled]:opacity-50 has-[select:is(:disabled)_*]:pointer-events-none'>\n      <label htmlFor={id} className='text-foreground block px-3 pt-1 text-xs font-medium'>\n        Native select with inset label\n      </label>\n      <div className='*:data-[slot=native-select-wrapper]:w-full'>\n        <NativeSelect\n          id={id}\n          defaultValue=''\n          className='border-none bg-transparent shadow-none focus-visible:ring-0 focus-visible:ring-offset-0'\n        >\n          <NativeSelectOption value='' disabled>\n            Pick your favorite movie\n          </NativeSelectOption>\n          <NativeSelectOption value='1'>Interstellar</NativeSelectOption>\n          <NativeSelectOption value='2'>Dune</NativeSelectOption>\n          <NativeSelectOption value='3'>The Matrix</NativeSelectOption>\n          <NativeSelectOption value='4'>Catch Me If You Can</NativeSelectOption>\n        </NativeSelect>\n      </div>\n    </div>\n  )\n}\n\nexport default NativeSelectWithInsetLabelDemo\n","type":"registry:component","target":"components/shadcn-studio/select/select-09.tsx"}]}