component lab
Components
Utility & chrome

CopyableCommand

Inline one-line shell command with a $ prompt and a copy button — for commands the reader should actually run.

single commands

Each renders as an inline-flex pill; the copy button writes the command without the $ prompt.

$ git worktree add ../fix-auth -b fix/auth
$ npx vitest run --reporter=dot
$ claude --dangerously-skip-permissions
long command / horizontal scroll

Long commands stay on one line and scroll horizontally inside the pill instead of wrapping.

$ git log --oneline --graph --all --decorate --date-order --color=always | head -40