Copy Command
A one-line shell command with a Copy button (Button copyValue, so it shows Copied! for two seconds). Used for the Install box at the foot of a Lab project, fed by the project's Install command field in Sanity. The command never wraps mid-flag: it scrolls inside the panel on narrow screens, and the button drops below it on phones.
Default
npx --yes github:gabrielhidalgow/usability-test-mcp setup --host claude-code,codextsx
<CopyCommand command={project.installCommand} />With label
Claude Code or Codex · Node 22 or later
npx --yes github:gabrielhidalgow/usability-test-mcp setup --host claude-code,codexProps
| Prop | Type | Default | Description |
|---|---|---|---|
command* | string | - | The shell command, shown verbatim after a muted $ prompt (not copied) and copied by the button. |
label | string | - | Optional caption above the command. |
className | string | - | Additional classes for the panel |