Labs

Components

Controls

Copy Chip

Clipboard chip that flips from utility to confirmation in one tap.

All components

Installation

Coming soon. Components will be available via the registry once checkout goes live.

Usage

<CopyChip text="npm i @your-org/sdk" label="npm i @your-org/sdk" />

Props

PropTypeDefaultDescription
text*stringValue written to the clipboard on click.
labelstringVisible label shown beside the icon. Defaults to `text` when omitted.
size"sm" | "md" | "lg""md"Visual scale of the chip.

Use cases

  • Install snippets

    One-tap copy for `npm i …` or curl commands in docs.

  • Share & invite tokens

    API keys, invite codes, room URLs — anything a user is about to paste elsewhere.

  • Profile contact info

    Email address or wallet pill on a public profile page.

  • Error / request IDs

    Surface a copyable trace ID in error states so users can paste it into support tickets.