Tag Chips
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldChips(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-chipsAbout this component
A tag field. Press Enter or type a comma and the words you typed turn into a chip right where they were while the cursor glides along; Backspace on an empty field melts the last chip back into editable text. Repeats nudge the existing chip instead of doubling it.
Triggers
- Focus
- State change
- Spring
- Morph
Techniques
- Spring
- State machine
- Keyframes
Difficulty
Advanced
Accessibility
Keyboard and screen readers
Chips are a labelled list and each has a real "Remove <tag>" button; the input is labelled "Add a tag". A polite live region announces each add, removal and duplicate.
Reduced motion
Everything happens without animation.
Use it in anything you build, commercial and client work included. Licence