

Every state


default


pnpm


copied


focus


run-once
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| packages | string | – | The packages or binary, e.g. "@quernly/cli" |
| mode | "add" | "dlx" | – | Install packages, or run a one-off binary (npx, pnpm dlx, yarn dlx, bunx) |
| dev | boolean | – | Add -D for a dev dependency |
| managers | PackageManager[] | – | The tabs, in order |
| defaultManager | PackageManager | – | The tab open first, server HTML included |
| onManagerChange | (manager) => void | – | Called when the reader picks another manager |
| label | string | – | Accessible name of the tab list |
| copyLabel | string | – | Copy button name |
| copiedLabel | string | – | Shown after copying |
Used in
A block built with code-03; installing one installs it too



