Installation
Basic
Inspect
With Label
Inspect
Install command
Button Variant
Inspect
Left Aligned
Inspect
Disabled
Inspect
Invite code
Copy Callback
Inspect
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. |