{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/select-25","type":"registry:component","title":"Select 25","description":"A custom select dropdown with inset label design inside bordered container","registryDependencies":["label","select"],"files":[{"path":"src/registry/new-york/components/select/select-25.tsx","content":"import { useId } from 'react'\n\nimport { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/registry/new-york/ui/select'\n\nconst SelectWithInsetLabelDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='group 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-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-[input:is(:disabled)]:*:pointer-events-none'>\n      <label\n        htmlFor={id}\n        className='text-foreground dark:bg-input/30 dark:group-hover:bg-input/50 block px-3 pt-1 text-xs font-medium'\n      >\n        Select with inset label\n      </label>\n      <Select>\n        <SelectTrigger\n          id={id}\n          className='dark:group-hover:bg-input/50 w-full rounded-t-none border-none shadow-none focus-visible:ring-0 focus-visible:ring-offset-0'\n        >\n          <SelectValue placeholder='Select payment method' />\n        </SelectTrigger>\n        <SelectContent>\n          <SelectItem value='1'>Credit Card</SelectItem>\n          <SelectItem value='2'>Google Pay</SelectItem>\n          <SelectItem value='3'>PayPal</SelectItem>\n          <SelectItem value='4'>Bitcoin</SelectItem>\n        </SelectContent>\n      </Select>\n    </div>\n  )\n}\n\nexport default SelectWithInsetLabelDemo\n","type":"registry:component","target":"components/shadcn-studio/select/select-25.tsx"}]}