UI / UXUI ComponentsDropdowns & MenusInteractiveIntermediate
Command Palette
KO: 커맨드 팔레트·EN: Command Palette·JA: コマンドパレット
A keyboard-first modal overlay invoked via ⌘K / Ctrl+K that unifies global search, navigation, and instant command execution
Table of Contents
Interactive Playground
Tap or drag to interact with the demoQuick Answer
What is Command Palette?
A keyboard-first modal overlay invoked via ⌘K / Ctrl+K that unifies global search, navigation, and instant command execution. It is a core concept in UI Components within UI / UX.
Core Principles
Popularized by VS Code, Raycast, and Linear, a Command Palette is a keyboard-first overlay typically opened with ⌘K / Ctrl+K. Instead of hunting through nested menus with a pointer, users type a few characters for fuzzy matching and trigger navigation or actions via Enter.
It keeps primary toolbars clean while offering near-instant access to dozens of secondary commands, dramatically reducing navigation friction for frequent users.
Practical Takeaways
- Make the initial empty state useful: Before the user types, display recent items, pinned destinations, and high-frequency commands (e.g., switch theme, create item).
- Surface a visible trigger for discoverability: Include a clickable search pill displaying the
⌘Kbadge in the header so mouse-first users naturally discover the shortcut. - Nail keyboard & IME ergonomics: Support
↑/↓wrap-around, grouped sections,Escapedismissal, andisComposingguards so CJK input methods do not accidentally trigger selection mid-composition.
Notable Examples
- VS Code (
Cmd/Ctrl+Shift+P): Exposing hundreds of editor and extension commands through one unified search bar. - Linear & Notion (
⌘K): Assigning issues, changing statuses, and jumping between documents without lifting hands off the keyboard. - Developer documentation portals: Fast global search modals indexing headings, APIs, and glossary entries.