Installation
Basic
With Label
Install command
Button Variant
Left Aligned
Disabled
Invite code
Copy Callback
Share link
Copied 0 times
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | The text value to display and copy to clipboard. |
| label | string | — | Optional label displayed above the input. |
| variant | "icon" | "button" | "icon" | Icon-only with tooltip, or button with visible label. |
| align | "right" | "left" | "right" | Position of the copy action relative to the value. |
| onCopy | () => void | — | Callback fired after the value is successfully copied. |
| disabled | boolean | false | Disables the input and copy button. |