{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "keyboard-shortcuts-03",
  "title": "Keyboard Shortcuts 03",
  "description": "A simple keyboard shortcuts block",
  "registryDependencies": [
    "kbd"
  ],
  "files": [
    {
      "path": "src/registry/blocks/radix/keyboard-shortcuts-03/components/keyboard-shortcuts.tsx",
      "content": "import { Kbd } from \"@/registry/bases/radix/ui/kbd\";\n\nexport default function KeyboardShortcuts() {\n  return (\n    <div className=\"px-6 py-8 sm:py-12\">\n      <div className=\"mx-auto max-w-184\">\n        <h2 className=\"px-2.5 font-medium text-2xl tracking-tight\">\n          Keyboard Shortcuts\n        </h2>\n        <p className=\"mt-1 px-2.5 text-muted-foreground\">\n          A list of keyboard shortcuts for the application\n        </p>\n\n        <ul className=\"mt-6 columns-1 gap-4 sm:columns-2\">\n          {shortcuts.map((shortcut) => (\n            <li\n              className=\"mb-4 flex break-inside-avoid flex-col rounded-xl bg-muted p-5\"\n              key={shortcut.category}\n            >\n              <span className=\"font-medium text-muted-foreground text-sm\">\n                {shortcut.category}\n              </span>\n              <ul className=\"mt-3 space-y-2\">\n                {shortcut.shortcuts.map((shortcut) => (\n                  <li\n                    className=\"flex items-center justify-between\"\n                    key={shortcut.shortcut}\n                  >\n                    <span>{shortcut.description}</span>\n                    <Kbd className=\"shrink-0 whitespace-nowrap border border-border/70 bg-foreground/5 px-1.5 font-mono\">\n                      {shortcut.shortcut}\n                    </Kbd>\n                  </li>\n                ))}\n              </ul>\n            </li>\n          ))}\n        </ul>\n      </div>\n    </div>\n  );\n}\n\nconst shortcuts = [\n  {\n    category: \"File Operations\",\n    shortcuts: [\n      {\n        shortcut: \"Ctrl + N\",\n        description: \"Open a new window\",\n      },\n      {\n        shortcut: \"Ctrl + O\",\n        description: \"Open a file\",\n      },\n      {\n        shortcut: \"Ctrl + S\",\n        description: \"Save the file\",\n      },\n      {\n        shortcut: \"Ctrl + Q\",\n        description: \"Quit the application\",\n      },\n    ],\n  },\n  {\n    category: \"Navigation\",\n    shortcuts: [\n      {\n        shortcut: \"Ctrl + K\",\n        description: \"Open the search bar\",\n      },\n      {\n        shortcut: \"Ctrl + T\",\n        description: \"Open a new tab\",\n      },\n      {\n        shortcut: \"Ctrl + W\",\n        description: \"Close the tab\",\n      },\n      {\n        shortcut: \"Ctrl + R\",\n        description: \"Refresh the page\",\n      },\n      {\n        shortcut: \"Ctrl + [\",\n        description: \"Go back\",\n      },\n      {\n        shortcut: \"Ctrl + ]\",\n        description: \"Go forward\",\n      },\n    ],\n  },\n  {\n    category: \"Editing\",\n    shortcuts: [\n      {\n        shortcut: \"Ctrl + X\",\n        description: \"Cut the selection\",\n      },\n      {\n        shortcut: \"Ctrl + Z\",\n        description: \"Undo the last action\",\n      },\n      {\n        shortcut: \"Ctrl + Y\",\n        description: \"Redo the last action\",\n      },\n    ],\n  },\n  {\n    category: \"Settings\",\n    shortcuts: [\n      {\n        shortcut: \"Ctrl + P\",\n        description: \"Open the settings\",\n      },\n    ],\n  },\n  {\n    category: \"View\",\n    shortcuts: [\n      {\n        shortcut: \"Ctrl + +\",\n        description: \"Zoom in\",\n      },\n      {\n        shortcut: \"Ctrl + -\",\n        description: \"Zoom out\",\n      },\n      {\n        shortcut: \"Ctrl + 0\",\n        description: \"Reset zoom\",\n      },\n      {\n        shortcut: \"F11\",\n        description: \"Toggle fullscreen\",\n      },\n    ],\n  },\n  {\n    category: \"Selection\",\n    shortcuts: [\n      {\n        shortcut: \"Ctrl + A\",\n        description: \"Select all\",\n      },\n      {\n        shortcut: \"Ctrl + D\",\n        description: \"Select word\",\n      },\n      {\n        shortcut: \"Ctrl + L\",\n        description: \"Select line\",\n      },\n      {\n        shortcut: \"Shift + Alt + ↑\",\n        description: \"Expand selection up\",\n      },\n      {\n        shortcut: \"Shift + Alt + ↓\",\n        description: \"Expand selection down\",\n      },\n    ],\n  },\n  {\n    category: \"Workspace\",\n    shortcuts: [\n      {\n        shortcut: \"Ctrl + \\\\\",\n        description: \"Split editor\",\n      },\n      {\n        shortcut: \"Ctrl + B\",\n        description: \"Toggle sidebar\",\n      },\n      {\n        shortcut: \"Ctrl + J\",\n        description: \"Toggle panel\",\n      },\n      {\n        shortcut: \"Ctrl + Shift + E\",\n        description: \"Focus explorer\",\n      },\n      {\n        shortcut: \"Ctrl + Shift + N\",\n        description: \"New window\",\n      },\n    ],\n  },\n];\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:block"
}