{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/select-08","type":"registry:component","title":"Select 8","description":"A native select dropdown with overlapping label design","dependencies":["lucide-react"],"registryDependencies":["label","native-select","utils"],"files":[{"path":"src/registry/new-york/components/select/select-08.tsx","content":"import { useId } from 'react'\n\nimport { NativeSelect, NativeSelectOption } from '@/registry/new-york/ui/native-select'\n\nconst NativeSelectWithOverlappingLabelDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='group relative w-full max-w-xs'>\n      <label\n        htmlFor={id}\n        className='bg-background text-foreground absolute top-0 left-2 z-10 block -translate-y-1/2 px-1 text-xs font-medium group-has-[select:disabled]:opacity-50'\n      >\n        Native select with overlapping label\n      </label>\n      <div className='*:data-[slot=native-select-wrapper]:w-full'>\n        <NativeSelect id={id}>\n          <NativeSelectOption value='1'>Developer</NativeSelectOption>\n          <NativeSelectOption value='2'>Designer</NativeSelectOption>\n          <NativeSelectOption value='3'>Manager</NativeSelectOption>\n          <NativeSelectOption value='4'>QA Engineer</NativeSelectOption>\n        </NativeSelect>\n      </div>\n    </div>\n  )\n}\n\nexport default NativeSelectWithOverlappingLabelDemo\n","type":"registry:component","target":"components/shadcn-studio/select/select-08.tsx"}]}