Input Search Expand
UnlimitedA round search icon that springs open into a full field, shows a ⌘K hint while empty, and collapses again on Escape or blur.
inputsearchexpandshortcuttoolbar
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/input-search-expand.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
More inputs
- Input Credit CardA payment form with a live card preview: digits group in fours, a highlight glides to the part you are editing, and the card flips over for the security code.
- Input Currency FormatA large amount field that groups thousands as you type without losing the caret, pads cents on blur, and grows to hug its digits.
- Input Floating LabelText fields whose label rests as a placeholder, then springs up into a small caption on focus or when filled; inset and underline variants.
- Input Inline EditText that turns into a field in place with no layout shift; Enter or blur saves with a brief tick, Escape puts the old value back.
- Input Mention AutocompleteA comment box that opens a people list when you type @, filters as you go, inserts the handle with Enter or Tab and tints finished mentions inline.
- Input Number StepperA spinbutton whose digits roll up or down like an odometer; hold a button to repeat with acceleration, or use the arrow keys.