{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "keyboard-shortcuts-04",
  "title": "Keyboard Shortcuts 04",
  "description": "A simple keyboard shortcuts block",
  "registryDependencies": [
    "kbd"
  ],
  "files": [
    {
      "path": "src/registry/blocks/radix/keyboard-shortcuts-04/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 border\">\n        <div className=\"relative overflow-hidden border-b p-6\">\n          <h2 className=\"font-medium text-2xl tracking-[-0.01em]\">\n            Keyboard Shortcuts\n          </h2>\n          <p className=\"mt-1 text-muted-foreground\">\n            A list of keyboard shortcuts for the application\n          </p>\n\n          {/* Circuit Board - Light Pattern */}\n          <div\n            className=\"pointer-events-none absolute inset-0 -top-0.5 z-0 not-dark:opacity-70\"\n            style={{\n              backgroundImage: `\n        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(75, 85, 99, 0.08) 19px, rgba(75, 85, 99, 0.08) 20px, transparent 20px, transparent 39px, rgba(75, 85, 99, 0.08) 39px, rgba(75, 85, 99, 0.08) 40px),\n        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(75, 85, 99, 0.08) 19px, rgba(75, 85, 99, 0.08) 20px, transparent 20px, transparent 39px, rgba(75, 85, 99, 0.08) 39px, rgba(75, 85, 99, 0.08) 40px),\n        radial-gradient(circle at 20px 20px, rgba(55, 65, 81, 0.12) 2px, transparent 2px),\n        radial-gradient(circle at 40px 40px, rgba(55, 65, 81, 0.12) 2px, transparent 2px)\n      `,\n              backgroundSize: \"40px 40px, 40px 40px, 40px 40px, 40px 40px\",\n            }}\n          />\n        </div>\n\n        <div className=\"h-5 bg-[repeating-linear-gradient(315deg,var(--border)_0,var(--border)_1px,transparent_0,transparent_50%)] bg-muted/50 bg-size-[10px_10px] bg-fixed\" />\n\n        <ul className=\"grid grid-cols-1 gap-1 bg-muted/50 pb-1 sm:grid-cols-2\">\n          {shortcuts.map((shortcut) => (\n            <li\n              className=\"flex break-inside-avoid flex-col border bg-background p-5 max-sm:border-x-0 sm:even:border-e-0 sm:odd:border-s-0\"\n              key={shortcut.category}\n            >\n              <span className=\"font-medium text-muted-foreground text-xs uppercase tracking-wide\">\n                {shortcut.category}\n              </span>\n              <ul className=\"mt-3.5 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: \"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    category: \"Settings\",\n    shortcuts: [\n      {\n        shortcut: \"Ctrl + P\",\n        description: \"Open the settings\",\n      },\n      {\n        shortcut: \"Ctrl + ,\",\n        description: \"Open preferences\",\n      },\n      {\n        shortcut: \"Ctrl + Shift + T\",\n        description: \"Change theme\",\n      },\n      {\n        shortcut: \"Ctrl + Alt + S\",\n        description: \"Sync settings\",\n      },\n    ],\n  },\n  {\n    category: \"Terminal\",\n    shortcuts: [\n      {\n        shortcut: \"Ctrl + `\",\n        description: \"Toggle terminal\",\n      },\n      {\n        shortcut: \"Ctrl + Shift + `\",\n        description: \"New terminal\",\n      },\n      {\n        shortcut: \"Ctrl + Shift + C\",\n        description: \"Copy selection\",\n      },\n      {\n        shortcut: \"Ctrl + Shift + V\",\n        description: \"Paste to terminal\",\n      },\n    ],\n  },\n];\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:block"
}