Buttons
BtnCopy
Copy text to clipboard button.
Buttons
Pre-built action buttons for common admin dashboard operations. All extend Nuxt UI's UButton.
Components
<XABtnCopy />
Copy text to clipboard button with a clipboard icon.
<XABtnCopy :value="apiKey" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | required | The string value to copy to the clipboard |
label | string | 'Copy' | Button label text (shown on hover or with showLabel) |
AI Context
component: XABtnCopy
package: "@xenterprises/nuxt-x-app"
category: Btn
use-when: Copying API keys, tokens, codes, or any string value to clipboard
