Copy ButtonnewNEW
A button component that copies text to clipboard with visual feedback.
Usage
Props
The CopyButton component extends IconButton props and accepts the following additional props
Prop | Type | Default |
---|---|---|
text | string | - |
resetTimeout | number | 1000 |
resetIcon | boolean | true |
All IconButton props are supported
Examples
Size
Like IconButton, CopyButton supports different sizes:
States
The CopyButton inherits all states from IconButton