Basic search
Use it when: Users know a word, name, or identifier.
Make this state clear: Empty query state.
Observe the result: Users can type, revise, clear, and keep context while inspecting results.
Study the full pattern →Use basic search when users are retrieving content from a known collection. Use a command palette when users need a keyboard-first way to execute commands or jump to destinations across a broad product.
Use basic search when users are retrieving content from a known collection. Use a command palette when users need a keyboard-first way to execute commands or jump to destinations across a broad product.
Practice the judgment: Imagine this situation: Treating a command palette as the only navigation path. Write the person's goal, choose one of these patterns, and show the state that helps the person continue. Use the decision rules and source trail below to explain your choice.
Review the underlying principle →| Dimension | Basic search | Command palette |
|---|---|---|
| UI or UX | UI + UX - Search input and result list | UI + UX - Modal command surface |
| UI guidance | Render a labeled search field, result count, matching rows, and clear action. | Render a compact dialog-like command surface with a search input, current scope, typed command mode, active result, command metadata, and empty state. |
| UX guidance | Help the person reach a clear task outcome. | Accelerate expert navigation and repeated actions across a large product while preserving ordinary navigation for novice and low-frequency users. |
| Good UI | A clearly labeled search field with result count and results placed directly below. | Centered command surface with input, shortcut hint, scope chip, grouped commands, command type labels, and a visible active row. |
| Bad UI | Results jump, resize, or use heavy borders that make scanning feel like reading a form. | Huge branded modal that buries the input below decorative content. |
| Good UX | Users can type, revise, clear, and keep context while inspecting results. | Keyboard shortcut or visible trigger opens the palette, focus lands in the command input, arrows move the active row, and Enter activates the highlighted safe command. |
| Bad UX | Search silently changes unrelated filters. | Palette is the only way to reach important navigation. |
| Best fit | Users know a word, name, or identifier. | Users need to traverse a broad product surface quickly. |
| Avoid when | The task is choosing a command with side effects. | The app has only a few obvious actions. |
| Required state | Empty query state. | Closed state with discoverable trigger. |
| Accessibility burden | The input has a stable accessible name. | Use dialog semantics with a clear name and modal behavior when the rest of the page is inert. |
| Common misuse | Using placeholder text as the only label. | Hiding basic navigation behind a keyboard-only palette. |