Copy Button
An animated and accessible button component for copy actions.
Install
pnpm dlx shadcn@latest add https://www.katestroyui.com/r/copy-buttonUsage
1import { CopyButton } from "@/components/ui/copy-button";23export function Example() {4 return (5 <CopyButton content="This is awesome!" />6)
Props
| Prop | Type | Description | Default | 
|---|---|---|---|
| content | string | Text to be copied | - | 
| className | string | Extra CSS classes | - |