> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CopyEvmKeyButtonProps

The props for the CopyEvmKeyButton component.

## See

* [CopyEvmKeyButton](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Components/CopyEvmKeyButton)
* [IframeTheme](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/IframeTheme)

## Extends

* `Pick`\<[`ButtonProps`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Interfaces/ButtonProps), `"size"` | `"fullWidth"`>

## Properties

| Property                                        | Type                                                                                   | Description                                                    | Inherited from   |
| ----------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ---------------- |
| <a id="address" /> `address`                    | `string`                                                                               | The address of the evm account to copy.                        | -                |
| <a id="classname" /> `className?`               | `string`                                                                               | The class name to apply to the button.                         | -                |
| <a id="copiedlabel" /> `copiedLabel?`           | `string`                                                                               | The label to display when the private key is copied.           | -                |
| <a id="icon" /> `icon?`                         | `boolean`                                                                              | Whether to show an icon in the button.                         | -                |
| <a id="label" /> `label?`                       | `string`                                                                               | The label to display on the button.                            | -                |
| <a id="onready" /> `onReady?`                   | () => `void`                                                                           | A function to call when the iframe UI is ready.                | -                |
| <a id="onsessionexpired" /> `onSessionExpired?` | () => `void`                                                                           | A function to call when the iframe session has expired.        | -                |
| <a id="onsuccess" /> `onSuccess?`               | () => `void`                                                                           | A function to call when the key is copied successfully.        | -                |
| <a id="onerror" /> `onError?`                   | (`error?`: `string`) => `void`                                                         | A function to call when there is an error in the secure iframe | -                |
| <a id="theme" /> `theme?`                       | `Partial`\<`SecureIframeTheme`>                                                        | Theme overrides for the iframe.                                | -                |
| <a id="variant" /> `variant?`                   | `"primary"` \| `"secondary"`                                                           | The variant of the button.                                     | -                |
| <a id="size" /> `size?`                         | [`ButtonSize`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/ButtonSize) | The size of the button. Defaults to "md".                      | `Pick.size`      |
| <a id="fullwidth" /> `fullWidth?`               | `boolean`                                                                              | Whether the button should be full width.                       | `Pick.fullWidth` |
