Back to Components
Components

User Mention

Inline mention badge for linking to user profiles.

Thanks @stevie for the feedback.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/user-mention.tsx

Installation

Using shadcn CLI

npx shadcn add user-mention --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge