Combo
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldCombo(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-comboAbout this component
A jade command field: a rim of jade light turns round it at rest; focus raises an aura and three glowing stones; every key throws sparks from the caret and fills a combo pip; Enter lands a finisher that slashes the text away.
Triggers
- Focus
- Glow
- State change
Techniques
- Conic gradient
- Keyframes
- requestAnimationFrame
- CSS transition
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native text input in a <form>, named by aria-label ("Command"); Enter submits. Pips, stones and canvas are aria-hidden.
Reduced motion
The loops and bursts are skipped.
Use it in anything you build, commercial and client work included. Licence