Skip to contentSkip to Content
Feedback
ComponentsCommandGrid

CommandGrid

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

API

CommandGrid

PropTypeDefaultDescription
childrenReactNode—CommandCard elements.

CommandCard

PropTypeDefaultDescription
commandstring—CLI command shown in monospace.
titlestring—Human-readable command name.
descriptionstring—Short task description.
hrefstring—Optional 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>