Alpha: Ships on npm at 7.0.0-alpha.07.0.0-alpha.0
command-row
One command to copy, with a note beneath it.
Carried by the api-product Template. Seen on pages/harbor/home.json, section 2.
{
"kind": "band",
"shell": {
"inset": "contained",
"density": "compact"
},
"block": {
"type": "command-row",
"command": "npm i harbor-tides",
"note": "Node.js 22 or later"
}
}
{
"title": "command-row",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "command-row"
},
"command": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"note": {
"type": "string",
"minLength": 1,
"maxLength": 48
}
},
"required": [
"type",
"command"
],
"additionalProperties": false
}{
"kind": "band",
"shell": { "inset": "contained", "density": "compact" },
"block": { "type": "command-row", "command": "npm i harbor-tides", "note": "Node.js 22 or later" }
}Smallest that parses
{ "type": "command-row", "command": "npm i harbor-tides" }Props
From @mdxui/site@7.0.0-alpha.0. A count reads as min–max × item; a string bound is its maximum length in characters, and links its refusal.
| Prop | Type and bound | Required |
|---|---|---|
command | string ≤40 | yes |
note | string ≤48 | no |
Use instead
terminal: more than one line