Home > @uniformdev/design-system > Copyable

Copyable() function

A button that displays a value and copies it to the clipboard when clicked, briefly showing a "Copied" confirmation. Shows an error toast if the clipboard write fails.

Signature:

Parameters

Parameter

Type

Description

{ value, children, iconSize, maxButtonWidth, showIcon, asInputStyle, withMarginTop, ...props }

(not declared)

input

CopyableProps

Returns:

_emotion_react_jsx_runtime.JSX.Element

Example

my-project-id