Skip to contentSkip to Content
ComponentsCommandGrid

CommandGrid

A compact command overview for CLI-heavy pages. Use CommandGrid with one or more CommandCard children.

API

CommandGrid

PropTypeDefaultDescription
childrenReactNodeCommandCard elements.

CommandCard

PropTypeDefaultDescription
commandstringCLI command shown in monospace.
titlestringHuman-readable command name.
descriptionstringShort task description.
hrefstringOptional link target.
flagsstring[][]Common flags shown as badges.

Example

Initialize

folio init

Create docs.yaml from project metadata.

Build

folio build

Generate MDX, search, and static output.

--clean--verbose
<CommandGrid> <CommandCard command="folio init" title="Initialize" description="Create docs.yaml." /> <CommandCard command="folio build" title="Build" description="Generate the static site." flags={["--clean", "--verbose"]} /> </CommandGrid>