Copy Button

Below is a ready made copy button component

Copy Button

Installation

$ pnpm dlx shadcn@latest add https://pulseui-henna.vercel.app/registry/CopyButton.json

Props

PropTypeisCompulsoryDescription
text
string
true

The text that must be copied to clipboard

size
number
false

The size of the copy button; default is 15

Usage