UI / Components / layout / CommandMenu

CommandMenu

⌘K palette with multi-source search.

A command palette modal. Open with ⌘K, search across multiple data sources, navigate with arrow keys, open with Enter (or Cmd+Enter for new tab). Supports filter chips and async result streams.

$npx dock-ui add command-menu
Type a workspace, row, or doc section…
Workspacelaunch-plan
RowNewsletter issue · AI workspaces primer
AgentScout

Usage

import { CommandMenu } from "@/components/ui/command-menu";

<CommandMenu sources={[searchWorkspaces, searchRows]} />

Install

via CLI
$ npx dock-ui add command-menu
Writes the file(s) directly to your components/ui/ folder. You own the code.
For agents
curl -L https://ui.trydock.ai/r/command-menu.json
Returns a JSON manifest with file paths + contents. Agent-readable, LLM-fetchable.
← All components
Themes·Component kit · glossary
View on GitHub →