Dev Design Library

Follow Button

A morphing follow/unfollow button with a spring width morph, animated check draw, and a hover-revealed unfollow state.

Follow Button preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
framer-motion, lucide-react
Install
npx shadcn@latest add @spectrumui/follow-button
Files
  • app/registry/follow-button/follow-button.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI