Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA menu whose shortcuts are real: the key combinations shown beside each item are registered on the document, ignored while typing unless they use Ctrl or Cmd, and announced when they run.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use this for File, Edit and View menus of editors and tools where power users expect shortcuts.
Do not register shortcuts the browser or the page already own, and do not register the same shortcut twice on a page.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
actions | { id, label, shortcut, onRun }[] | - | Items; shortcut is keys joined with +. |
label | string | File | Name of the menu button. |
aria-keyshortcuts, and the same strings drive the handlers, so the menu cannot show a key that does nothing.| Key | Action |
|---|---|
| The shown shortcuts (for example Ctrl+S) | run the action with the menu closed |
| Enter, Space or ArrowDown on the button | opens the menu |
The pattern ships a Testing Library test (menu-shortcuts-registered.test.tsx) that covers shortcut text and keyshortcuts, running with the menu closed, wrong modifiers, typing in fields and menu use.