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
API Reference
Hotkeys API Reference
Hotkey Sequence API Reference
Key Hold API Reference
Held Keys API Reference
Hotkey Recorder API Reference
Hotkey Sequence Recorder API Reference
Format for Display API Reference
Format for Display API Reference

STANDARD_MODIFIER_LABELS

Variable: STANDARD_MODIFIER_LABELS

ts
const STANDARD_MODIFIER_LABELS: Record<CanonicalModifier, string>;

Defined in: constants.ts:513

Modifier key labels for Windows/Linux display.

Used by formatting functions to display hotkeys with standard text labels (e.g., 'Ctrl' for Control, 'Win' for Meta/Windows key) instead of symbols. This provides a familiar Windows/Linux look and feel in hotkey displays.

Example

ts
STANDARD_MODIFIER_LABELS['Control'] // 'Ctrl'
STANDARD_MODIFIER_LABELS['Meta'] // 'Win'
STANDARD_MODIFIER_LABELS['Alt'] // 'Alt'
STANDARD_MODIFIER_LABELS['Shift'] // 'Shift'