Clipboard Button
Clipboard button allows user to copy some information to the clipboard.
#Example
#Usage
#Copy text
#Sizes
#Guidelines
#When to use
- When there's a information on page that user usually would want to copy for further use.
#Placement
- Always position a clipboard button on the right side of the information it's copying.
- Maintain a 4px distance before a clipboard button.
#Props
Inherits margin props.
Name | Default | Description |
---|
text | — | string Text to copy to clipboard after user clicks this button. |
size | — | "sm" | "md" | "lg" Size of the button. |