Back to Components
Inputs
Tags Input
Add and remove tags with keyboard support, validation, and duplicate prevention.
0 of 6 tags
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/tags-input.tsx
Installation
Using shadcn CLI
npx shadcn add tags-input --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge