Skip to content

ClipboardButton

ClipboardButton(props): Element

A ClipboardButton copies text to the clipboard. It can be used to copy any text value, e.g. a code snippet, a URL, or any arbitrary text.

Parameters

ParameterTypeDescription
propsClipboardButtonProps

Returns

Element

Example

import { ClipboardButton } from "@netlify/sdk/ui/react/components";
<ClipboardButton value="https://example.com" />