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

MAC_MODIFIER_SYMBOLS

Variable: MAC_MODIFIER_SYMBOLS

ts
const MAC_MODIFIER_SYMBOLS: Record<CanonicalModifier, string>;

Defined in: constants.ts:491

Modifier key symbols for macOS display.

Used by formatting functions to display hotkeys with macOS-style symbols (e.g., ⌘ for Command, ⌃ for Control) instead of text labels. This provides a native macOS look and feel in hotkey displays.

Example

ts
MAC_MODIFIER_SYMBOLS['Meta'] // '⌘'
MAC_MODIFIER_SYMBOLS['Control'] // '⌃'
MAC_MODIFIER_SYMBOLS['Alt'] // '⌥'
MAC_MODIFIER_SYMBOLS['Shift'] // '⇧'