{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/input-37","type":"registry:component","title":"Input 37","description":"Search input field with keyboard shortcut indicator (⌘K) for enhanced UX","registryDependencies":["input-group","kbd","label"],"files":[{"path":"src/registry/new-york/components/input/input-37.tsx","content":"import { useId } from 'react'\n\nimport { InputGroup, InputGroupAddon, InputGroupInput } from '@/registry/new-york/ui/input-group'\nimport { Kbd } from '@/registry/new-york/ui/kbd'\nimport { Label } from '@/registry/new-york/ui/label'\n\nconst InputSearchDemo = () => {\n  const id = useId()\n\n  return (\n    <div className='w-full max-w-xs space-y-2'>\n      <Label htmlFor={id}>Search input with &lt;kbd&gt;</Label>\n      <InputGroup>\n        <InputGroupInput\n          id={id}\n          type='search'\n          placeholder='Search...'\n          className='[&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none [&::-webkit-search-results-button]:appearance-none [&::-webkit-search-results-decoration]:appearance-none'\n        />\n        <InputGroupAddon align='inline-end'>\n          <Kbd>⌘k</Kbd>\n        </InputGroupAddon>\n      </InputGroup>\n    </div>\n  )\n}\n\nexport default InputSearchDemo\n","type":"registry:component","target":"components/shadcn-studio/input/input-37.tsx"}]}