# Copy Button > Copies text to the clipboard and confirms with a check mark. Source: https://native.shellui.dev/docs/components/utility/copy-button ## Installation ```bash shellui-native add copy-button ``` **Platforms:** MAUI ยท Avalonia. Also installs `icon`. ## Usage ### Basic **MAUI** ```xml ``` **Avalonia** ```xml ``` [Live preview](https://native.shellui.dev/preview/index.html?c=copy-button-basic) Set `Label` for a button with text (`Label="Copy link"`) instead of an icon-only one. ## MAUI and Avalonia MAUI copies with `Clipboard.Default`; Avalonia uses the window's clipboard, so the button does nothing until it is in a window. ## API | Property | Type | Default | Description | |---|---|---|---| | `Text` | `string` | โ€” | Text copied to the clipboard. | | `Label` | `string` | โ€” | Button text; empty shows just the icon. | | Event | Arguments | Description | |---|---|---| | `Copied` | โ€” | The text was copied. | | Method | Description | |---|---| | `CopyAsync()` | Copies `Text` to the clipboard, as a press would. |