Tape
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldTape(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-tapeAbout this component
A tag field on stitched kraft card: each tag you enter is punched out as a strip of embossed label tape in its own colour, feeding out letter by letter. The cursor blinks after the last strip; Enter or a comma adds a tag, Backspace or a click on a strip removes it.
Triggers
- Focus
- State change
- Click
- Keyframe
Techniques
- Keyframes
- clip-path
- CSS variables
- CSS transition
- Pseudo elements
- State machine
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native text input named by aria-label ("Add a tag"); every tag is a real button named "Remove" plus its text, with a :focus-visible outline, so tags can be reached and removed from the keyboard. Focus on the field is a solid ring round the card.
Reduced motion
Every transition and animation is switched off, so strips appear at once.
Use it in anything you build, commercial and client work included. Licence