Back to components
Tag Input Row React component

What is this?

A text field that turns what you type into chips. Press Enter or type a comma to add one, and each chip pops in with its own remove button. With the field empty, Backspace highlights the last chip and a second press removes it. Duplicates nudge the chip that already exists. Swap the tags, placeholder, and limit, then drop it into a settings form or a publish dialog.

Component

Tag Input Row

A text field that turns what you type into chips. Press Enter or type a comma to add one, and each chip pops in with its own remove button. With the field empty, Backspace highlights the last chip and a second press removes it. Duplicates nudge the chip that already exists. Swap the tags, placeholder, and limit, then drop it into a settings form or a publish dialog.

Checking access…
Live Preview

Verified Technical Spec

Animation
CSS / Tailwind
Reduced motion
Verified
Keyboard focus
Verified
Compatibility
Tailwind CSS v3.4 + v4 · React 19 / Next.js 15 App Router + Vite / Remix compatible

Included

  • Copy source into Cursor or Claude for agent install
  • Finished React · TypeScript · Tailwind CSS · Lucide UI

Dependencies

  • React 19.0.0
  • Typescript 5.7.2
  • Tailwindcss 3.4.16
  • Lucide-react 1.23.0

Tech Stack

  • React
  • TypeScript
  • Tailwind CSS
  • Lucide

Version 1.0.0