Back to Components
Inputs

Tag Input

Tag input with autocomplete suggestions and removable chips.

DesignUX

Dependencies

  • clsx
  • tailwind-merge
  • lucide-react

Files

  • components/ui/tag-input.tsx

Installation

Using shadcn CLI

npx shadcn add tag-input --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge lucide-react