Copy button
CoreCopy a value with immediate confirmation.
pnpm dlx shadcn@latest add https://wui.alann.works/r/copy-button.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
value* | string | required |
label | string | — |
className | string | — |
iconOnly | boolean | — |
variant | "outline" | "plain" | — |
disabled | boolean | — |
onCopied | () => void | — |