Seek
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldSeek(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/input-seekAbout this component
A soft search field that expands: a short pressed well in a matte plate with a teal cursor blinking beside the magnifier. Focus stretches the plate out to full width with a spring, the magnifier turns teal, and a raised round clear button pops up as soon as you type.
Triggers
- Focus
- Spring
- Neumorphic
- State change
- Icon
Techniques
- CSS variables
- CSS transition
- Keyframes
- SVG
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native search input named by aria-label ("Search") and a real button ("Clear search") that is only in the tab order while there is text to clear; the button has a :focus-visible outline and the field shows focus as a teal ring inside the well. Drawn parts are aria-hidden.
Reduced motion
Every transition and animation is switched off.
Use it in anything you build, commercial and client work included. Licence