Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Hotkeys API Reference
App Hotkeys API Reference
Key hold & held keys API Reference
Hotkey Recorder API Reference
Normalization & format API Reference
Hotkeys API Reference

HotkeyMeta

Defined in: hotkey.types.ts:308

Metadata for hotkey registrations, chords and sequences alike. Includes name, description, and group by default. Extend via declaration merging:

Example

ts
declare module '@tanstack/hotkeys' {
  interface HotkeyMeta {
    category?: string
    icon?: string
  }
}
declare module '@tanstack/hotkeys' {
  interface HotkeyMeta {
    category?: string
    icon?: string
  }
}

Properties

description?

ts
optional description?: string;
optional description?: string;

Defined in: hotkey.types.ts:312

Description of what this hotkey does


group?

ts
optional group?: string;
optional group?: string;

Defined in: hotkey.types.ts:314

Optional display group. Does not affect matching or scope.


name?

ts
optional name?: string;
optional name?: string;

Defined in: hotkey.types.ts:310

Human-readable name for this hotkey (e.g., "Save Document")