BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/brainless/grok-shortcuts

Grok Shortcuts

brainless/grok-shortcuts
FreeComponent

Keyboard Shortcuts modal (Ctrl+x) — nested ◆/› categories with key bindings.

Install it

npx shadcn@latest add https://brainless.swerdlow.dev/r/grok-shortcuts.json

Source

registry/brainless/grok/grok-shortcuts.tsxbrainless.swerdlow.dev/r/grok-shortcuts.json · first 6 KB
1"use client";
2
3import * as React from "react";
4import { cn } from "@/lib/utils";
5
6/**
7 * GrokShortcuts — Grok CLI's Keyboard Shortcuts modal (Ctrl+x).
8 *
9 * Nested categories with ◆ rows for expanded sections and › for collapsed
10 * ones. Arrow keys / e expand; Esc closes.
11 */
12const BORDER = "#808080";
13const FG = "#e1e1e1";
14const MUTED = "#8b8b90";
15const DIM = "#6c6c6c";
16const MARK = "#808080"; // 38;5;8 — ◆ / › markers
17
18export type GrokShortcut = { action: string; keys: string };
19export type GrokShortcutGroup = {
20 id: string;
21 label: string;
22 items: GrokShortcut[];
23 /** Display count when collapsed; defaults to items.length. */
24 count?: number;
25};
26
27const DEFAULT_GROUPS: GrokShortcutGroup[] = [
28 {
29 id: "essentials",
30 label: "Essentials",
31 items: [
32 { action: "Send", keys: "Enter" },
33 { action: "Focus scrollback", keys: "Tab" },
34 { action: "Cancel turn", keys: "Ctrl+c" },
35 { action: "Cycle mode (Normal / Plan / Always-approve)", keys: "Shift+Tab" },
36 { action: "Quit", keys: "Ctrl+q / Ctrl+d" },
37 { action: "Command palette", keys: "Ctrl+p / ?" },
38 { action: "Keyboard shortcuts", keys: "Ctrl+x / Ctrl+." },
39 { action: "Open the settings modal", keys: "F2 / Ctrl+, / Cmd+," },
40 ],
41 },
42 {
43 id: "input",
44 label: "Input",
45 items: [
46 {
47 action: "Send now while running (interject)",
48 keys: "Ctrl+Enter / Ctrl+i",
49 },
50 {
51 action: "Voice dictation (Ctrl+Space / F8)",
52 keys: "Ctrl+Space / F8",
53 },
54 { action: "Search prompt history", keys: "Ctrl+r" },
55 { action: "Toggle multiline", keys: "Ctrl+m" },
56 {
57 action: "Shell mode (type ! on empty prompt)",
58 keys: "!",
59 },
60 ],
61 },
62 // Counts confirmed live; item lists need a re-auth pass (probe hit /logout).
63 { id: "nav", label: "Conversation Navigation", count: 10, items: [] },
64 { id: "actions", label: "Conversation Actions", count: 4, items: [] },
65 { id: "panels", label: "Panels", count: 6, items: [] },
66 {
67 id: "session",
68 label: "Session",
69 items: [
70 { action: "New session", keys: "Ctrl+n" },
71 { action: "Resume session", keys: "Ctrl+s" },
72 { action: "New worktree", keys: "Ctrl+w" },
73 ],
74 },
75 { id: "dashboard", label: "Dashboard", count: 17, items: [] },
76];
77
78export function GrokShortcuts({
79 groups = DEFAULT_GROUPS,
80 defaultExpanded = "essentials",
81 onClose,
82 className,
83}: {
84 groups?: GrokShortcutGroup[];
85// … truncated

Files it writes

  • registry/brainless/grok/grok-shortcuts.tsx

Facts

Registry
brainless
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

brainless.swerdlow.dev theswerd/brainless on GitHub Raw registry item This item as JSON

More from brainless

All 40 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Claude Diffclaude-diffbrainlessComponentsFreeno deps
Claude Headerclaude-headerbrainlessComponentsFreeno deps
Claude Messageclaude-messagebrainlessComponentsFreeno deps
Claude Permissionclaude-permissionbrainlessComponentsFreeno deps
Claude Promptclaude-promptbrainlessComponentsFreeno deps
Claude Slash Menuclaude-slash-menubrainlessComponentsFreeno deps
Claude Thinkingclaude-thinkingbrainlessComponentsFreeno deps
Claude Todo Listclaude-todo-listbrainlessComponentsFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex