Copy value

A value that copies itself on click, with a check to confirm. Used for keys, IDs, hex codes and receipts.

WebsiteConsole

Guidelines

  • Show the value in Geist Mono so it can be read and checked character by character.
  • Confirm with a check for about a second; don't toast for every copy.

Source

  • website
    components/brand/copy-value.tsx
  • console
    components/api-key/view-api-key.tsx