Back to Components
Buttons
Follow Button
Follow and following toggle with follower count label.
2,560 followers
9,842 followers
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/follow-button.tsx
Installation
Using shadcn CLI
npx shadcn add follow-button --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge