Skip to content

Command

A fast, keyboard-first command palette for searching and executing actions. Press ⌘K to open a global dialog.

$cookest-ui add command

Inline Command

An embedded command menu for recipe search.

Command Dialog

The most common pattern — press ⌘K or click the button to open a global command palette.

or press ⌘K

PropTypeDefaultDescription
CommandInputReactNodeThe search input — filters items in real time.
CommandListReactNodeScrollable container for groups and items.
CommandGroupReactNodeGroups items with a label heading.
CommandItemReactNodeA single selectable action/result.
CommandEmptyReactNodeShown when CommandList has no matching items.
CommandShortcutstringKeyboard shortcut displayed on the right.
CommandDialogReactNodeA pre-styled Dialog wrapper for the full-screen palette.