Shortcut Press

⌘ plus K: Open command palette

About this piece

Shortcut Press

Keycaps press down one after another, their shadows shrinking as they sink, and the matching action label fades in beside them before the next shortcut takes a turn.

Usage

The import and the props worth knowing about, in one place.

import { Keyboard17 } from "@/components/beste/piece/keyboard17";

<Keyboard17
  shortcuts={[
    {
      "keys": [
        "⌘",
        "K"
      ],
      "label": "Open command palette"
    },
    {
      "keys": [
        "⌘",
        "⇧",
        "P"
      ],
      "label": "Run a command"
    },
    {
      "keys": [
        "⌘",
        "/"
      ],
      "label": "Show all shortcuts"
    }
  ]}
/>

More Keyboard pieces

View all Keyboard
Open search
⌘K
New file
⌘N
Toggle sidebar
⌘B
Switch workspace
⌘⇧O
Quick search
⌘K
Press space to continue
Space
Space
Press to continue
↑↑↓↓←→←→BA
Unlock the secret
Go to fileJump to any file in the workspace
⌘P