Dev Design Library

Follow Button

Turns its plus into a check as you follow, and warns before you unfollow.

Follow Button preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/follow-button.json
Files
  • src/lab/components/follow-button.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
  • src/lab/preview-play.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab