ClipboardText

Copy a value: a read-only pill field, a copy circle, or inline text that copies itself.

View source
https://gateway.northwind.example/v1
import { ClipboardText, CopyButton, InlineCopyText } from "@logicplanes/kaeso-ui";

Props

  • display
    ReactNode

    Shown instead of the value (for example a redacted form); the value is still what is copied.

  • label
    string

    The tooltip and accessible name. Defaults to "Copy" in the provider's language.

  • size
    "md" | "sm" | "lg" = md

    The height of the field.

  • value
    string

    The text to show and copy.