Command

cmdk's list, restyled: Dropdown-density rows at 13px, 4px radius, highlighted on the muted fill when selected. Inline it is the list under Combobox; wrapped in a Command dialog it becomes the ⌘K palette, a Dialog with a 40px search row. Every palette action must also exist in the UI — the palette is a shortcut, never the only way in.

<Command>
  <CommandInput placeholder="Search…" />
  <CommandList>
    <CommandEmpty>No results found.</CommandEmpty>
    <CommandGroup heading="Tasks">
      <CommandItem>Approve invoice #1042<CommandShortcut><Kbd>A</Kbd></CommandShortcut></CommandItem>
    </CommandGroup>
  </CommandList>
</Command>

<CommandDialog open={open} onOpenChange={setOpen}>
  <Command>…</Command>
</CommandDialog>

Inline

The list under Combobox: groups, shortcuts, a disabled item, no results state. The last row opens the palette below.

Palette (⌘K)

A Dialog underneath: black/60 scrim, 16px radius, --z-modal. Cmd/Ctrl+K toggles it.