Dev Design Library

Copy button

Copy a value with immediate confirmation.

Copy button preview
Library
Arc Library
Framework
React
Type
ui
License
MIT
Dependencies
lucide-react, motion
Install
npx shadcn@latest add https://uiarc.dev/r/copy-button.json
Files
  • registry/components/copy-button/copy-button.tsx
  • registry/components/copy-button/copy-button.module.css
  • lib/use-copy-feedback.ts
  • registry/motion-tokens.ts
  • lib/motion-tokens.ts
Source
https://github.com/kuratlielia/arc-library

Categories

More from Arc Library