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 & held keys API Reference
Hotkey Recorder API Reference
Hotkey Sequence Recorder API Reference
Normalization & format API Reference
Normalization & format API Reference

MAC_MODIFIER_LABELS

Variable: MAC_MODIFIER_LABELS

ts
const MAC_MODIFIER_LABELS: Record<CanonicalModifier | "Mod", string>;

Defined in: constants.ts:522

Modifier key labels for macOS display.

Used by formatting functions to display hotkeys with macOS-style text labels (e.g., 'Control' for Control, 'Option' for Alt, 'Cmd' for Meta) instead of symbols. This provides a familiar macOS look and feel in hotkey displays.

Example

ts
MAC_MODIFIER_LABELS['Control'] // 'control'
MAC_MODIFIER_LABELS['Alt'] // 'option'
MAC_MODIFIER_LABELS['Shift'] // 'shift'
MAC_MODIFIER_LABELS['Meta'] // 'cmd'