Dev Design Library

Share Button

Opens in place into copy, X and email, and the link turns into a check when it is copied.

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

Categories

More from UI Lab