Token Display
View in FigmaA monospace pill for showing API keys, tokens, or hashes with optional copy-to-clipboard.
Feedback & StatusImport
import { TokenDisplay } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Token value to display. |
| copyable | boolean | — | Enable copy-to-clipboard button. |
| truncate | number | — | Truncate value to this many characters. |
| variant | "default" | "filled" | "default" | Visual style. |
| size | "sm" | "md" | "md" | Pill height. |