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
Normalization & format API Reference

MAC_MODIFIER_SYMBOLS

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

Defined in: display-labels.ts:22

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'] // '⇧'
MAC_MODIFIER_SYMBOLS['Meta'] // '⌘'
MAC_MODIFIER_SYMBOLS['Control'] // '⌃'
MAC_MODIFIER_SYMBOLS['Alt'] // '⌥'
MAC_MODIFIER_SYMBOLS['Shift'] // '⇧'