www/apps/cloud/app/command-palette/page.mdx
import { getOsShortcut, Kbd, InlineIcon } from "docs-ui" import { ChevronRight } from "@medusajs/icons"
export const metadata = {
title: Command Palette,
}
In this guide, you'll learn how to use the command palette in Cloud to quickly perform actions and navigate to pages.
Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> to open the command palette from anywhere in the Cloud dashboard.
To close the palette, press <Kbd>Esc</Kbd> or click anywhere outside it.
Aside from clicking items with your mouse, you can navigate the command palette using your keyboard:
The command palette organizes its commands into three types: Actions, Navigation, and Settings.
Actions let you perform tasks directly without navigating to a specific page first:
For the commands that perform actions on a specific project, such as Edit Variables or View Logs, you'll need to select a project after choosing the command.
Navigation items take you directly to a specific page in the Cloud dashboard:
For the commands that navigate to a specific project, such as Project Overview or Logs, you'll need to select a project after choosing the command.
Settings items take you to specific settings pages in the Cloud dashboard:
Some commands require you to choose a project before continuing. These commands display a <InlineIcon Icon={ChevronRight} alt="arrow" /> icon on the right side.
When you select one of these commands, the palette switches to a project-picker view:
The selected project's page opens immediately.
To go back to the main command list without selecting a project, click the badge (for example, the Project Overview badge) at the top of the palette.
You can type in the command palette's search bar to filter both commands and project names.
To search for a project and navigate to its dashboard:
This takes you directly to that project's dashboard.