Skip to main content

CopyableText

Renders children alongside a copy-to-clipboard button. Shows a green checkmark for 2 seconds after a successful copy. Does not apply any styling to the children — all presentation is controlled by the consumer.

Example

Tsx
Signature

Parameters

props

parameterReadonly<CopyableTextProps>
Was this chapter helpful?
Report Issue
Edited Mar 23, 2026·Edit this page