Overview
The Command palette is a component that enables quick and easy switching between contexts, instances, or executing actions. The component is an indivisible part of the Tool Header and should be used only in the context of the Tool Header.
When to use
Recommended
- To provide an easy way of navigation and context switching.
- To list possible actions that can be executed.
- To search for actions or objects.
- To execute contextual actions without leaving the current page.
Not recommended
- Do not use it if you need only the search functionality. You can use Tool Header Search instead.
- Do not use it to list all available actions and navigation options at once.
Anatomy
Operation modes
When the command palette is opened, it includes specific areas designed to enhance the user experience. These areas are ordered depending on the context and the operation mode. To facilitate effortless navigation, users have the option to navigate the list of results using keyboard.
In summary, the initial state of the command palette provides users with a convenient display of recent actions and context-based suggestions, facilitating quick access to frequently used commands and offering relevant recommendations based on the user's current context.
Search
The default action, regardless of the context of the command palette, is the search. If the command palette is triggered within a context (ex.: Instance, Account, or any page from the navigation), it offers to limit the search to the context or to perform a product-wide search.
Actions
The Action mode showcases context-based suggestions for actions. Switching to this mode happens with the " > " key. The suggestions are dynamically generated and tailored to the user's current context. By considering the user's activities, the command palette suggests relevant actions, enabling users to discover new features or actions they may find useful.
Navigation
The navigation mode is triggered by the shortcut key " / " and allows the user to quickly navigate to the desired page from the product, or to load the context into the Command palette to perform context-specific action. This section displays a list of frequently used navigation items. Users can easily access their preferred actions directly from this area, making their workflow more efficient.
Input Structure
Groups order
Search Mode
Navigation Mode
Action Mode
Navigation Items
See also:
Responsiveness
Phone
On mobile phones, there are certain limitations because of the virtual keyboard. The navigation items support only direct navigation to the item instead of having the ability to switch contexts without reloading the page.
Command Palette - Phone
Resources
Design
Command Palette - Visual Design Specification
Leave Feedback
We want to make our toolkit better. If you're interested in providing feedback, please use the commenting feature in the Figma file link in the button below.