Report a problem or share feedback← Catalog
Copy Button
freecult-ui/copy-button
Button that copies content to clipboard with feedback
$
npx shadcn@latest add @cult-ui/copy-buttonnpm deps: lucide-react, motion
- Source
- Cult UI
- Kind
- component
- Categories
- button
- Use as
- drop-in — replaces your component
- Applies to
- button
- Motion
- on press · subtle · motion · medium cost · respects reduced motion
- Tags
- motion
- Licence
- MIT (nolly-studio/cult-ui). Pro blocks/templates at pro.cult-ui.com are paid — not catalogued.
- Live demo
- www.cult-ui.com
- Docs
- www.cult-ui.com
Similar
Compare all 4 →- Button Stateful Buttonbeui/button-statefulUseful for save/submit flows with loading, success and error states. Wire real async outcomes; keep labels and error handling explicit.
- Button Copysmoothui/button-copyCopy button that cycles idle → spinner → check with icon cross-fades, an aria-live status and a 44px hit target; icons are props. bg-background + border, spinner has motion-reduce:animate-none. Its className is string-concatenated (no cn()), so conflicting utility classes won't merge — override via a wrapper if needed.
- Texture Buttoncult-ui/texture-buttonSkeuomorphic textured button variants. Heavy hard-coded neutral/indigo gradients — fits soft-glass/editorial looks, clashes with flat themes.