Dev Design Library

Like Button

A dynamic button that animates on click, creating a burst of heart icons that randomly scatter before fading out.

Like Button preview
Library
Badtz UI
Framework
React
Type
ui
License
MIT
Dependencies
clsx tailwind-merge, motion
Install
npx shadcn@latest add https://badtz-ui.com/r/like-button.json
Files
  • registry/new-york-v4/ui/like-button.tsx
  • lib/utils.ts
Source
https://github.com/badtzx0/badtz-ui

Categories

More from Badtz UI