Command
A searchable command palette for fast navigation and actions.
Command menu
A filterable list of navigation targets and actions with shortcuts.
API reference
A searchable command palette; type to filter grouped, keyboard-navigable items. Wrap in CommandDialog for a ⌘K overlay.
Anatomy
Command | Root container owning the filter state and keyboard navigation. |
CommandDialog | Dialog wrapper that renders the menu as a ⌘K overlay. |
CommandInput | Search field that filters the list as you type. |
CommandList | Scrollable results region. |
CommandEmpty | Fallback shown when nothing matches. |
CommandGroup | A labelled group of related items (via heading). |
CommandItem | A selectable action or navigation target. |
CommandShortcut | Right-aligned keyboard-shortcut hint on an item. |
CommandSeparator | A divider between groups. |