Back to Components
Inputs
Mention Input
Text input that supports @mentions with dropdown suggestions and highlighted mentions.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/mention-input.tsx
Installation
Using shadcn CLI
npx shadcn add mention-input --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge