Skip to content
Cynco UI

Components · Actions

CopyTextButton

A bordered mono chip that copies its text, with a copy icon.

import { CopyTextButton } from "@cynco-labs/ui";

Example

Use

Showing a document number or ID the user is expected to copy.

Props

text, optional children (display), copySize, icon.

Source Demo source Markdown