awesome-repositories.comCategoriesBlog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
greena13 avatar

greena13/react-hotkeys

0
View on GitHub↗
2,158 stars·160 forks·JavaScript·ISC·13 viewsgithub.com/greena13/react-hotkeys↗

React Hotkeys

React hotkeys is a keyboard shortcut manager designed for declaring, scoping, and handling keyboard shortcuts and focus areas in React applications. It allows developers to define declarative shortcuts by binding key combinations or sequences to action names and handler functions, enabling components to respond predictably to user input.

The library provides distinct mechanisms for managing how keyboard events interact with the document. It supports scoping hotkeys to specific component subtrees and DOM descendants to match natural browser focus behavior, alongside global key event handling that captures matching combinations anywhere in the document regardless of active focus. It also excludes input elements and editable content from triggering shortcuts by default, with options to customize these rules.

Additional capabilities include runtime recording of user-pressed key combinations for custom shortcut assignments, and retrieval of active key maps and registered actions from mounted components to support help menu and dialog generation.

Features

  • Focus Management - Manages component focus scopes and tracks active DOM elements for keyboard events.
  • Keyboard Shortcut Managers - Provides a keyboard shortcut manager for declaring, scoping, and handling keyboard shortcuts and focus areas in applications.
  • DOM Focus Filtering - Listens for keyboard input only when specific DOM descendants are active and focused.
  • Keyboard Shortcuts - Binds key combinations or sequences to action names and handler functions declaratively.
  • Component Focus Management - Scopes hotkeys exclusively to specific component descendants actively in focus within the document tree.
  • Focus Management Libraries - Provides tools for tracking active DOM elements and scoping keyboard events to specific component subtrees.
  • Global Keyboard Event Listeners - Captures matching key combinations anywhere in the document regardless of active focus.
  • Active Binding Inspections - Retrieves active mappings and registered actions from mounted components to support help dialog generation.
  • Input Event Filtering - Ignores or forces observation of key events originating from specific sections of the application.
  • Custom Key Mappings - Records user-pressed key combinations dynamically for custom shortcut assignments at runtime.
  • Global Hotkey Managers - Handles global shortcut events triggered anywhere in the document.
  • Dynamic Keyboard Help Views - Generates dynamic help menus and dialogs from active key maps and registered component actions.
  • Key Mapping Inspectors - Inspects currently mounted action key maps and assigned sequences for debugging.
  • Input Element Wrappers - Excludes input elements and editable content from triggering shortcuts by default with customization rules.
  • Component-Based UI Libraries - Builds user interfaces from small reusable React components.
  • Application Action Mappings - Retrieves complete mappings of all currently mounted actions and key sequences to display help menus.

Star history

Star history chart for greena13/react-hotkeysStar history chart for greena13/react-hotkeys

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to React Hotkeys

Similar open-source projects, ranked by how many features they share with React Hotkeys.
  • jaywcjlove/hotkeys-jsjaywcjlove avatar

    jaywcjlove/hotkeys-js

    7,107View on GitHub↗

    hotkeys-js is a JavaScript keyboard shortcut library and event manager used to map key combinations to callback functions within web applications. It serves as an input shortcut orchestrator that captures and filters keyboard events to execute custom actions. The library distinguishes itself through shortcut scope management, allowing shortcuts to be organized into named groups. These scopes can be toggled to prevent command conflicts across different application states. The system covers keyboard shortcut binding and unbinding, real-time key state querying, and input event filtering to prev

    TypeScriptbrowserhotkeyhotkeys
    View on GitHub↗7,107
  • madrobby/keymastermadrobby avatar

    madrobby/keymaster

    6,516View on GitHub↗

    Keymaster is a keyboard shortcut library for web applications that provides utilities for intercepting keyboard events and mapping key combinations to handler functions. It includes a keyboard event manager and a key state tracker to monitor and query which keys or modifiers are currently held down. The library features a scoped input handler that allows shortcuts to be grouped into named contexts. This enables the application to switch between different sets of available actions depending on the active area of the interface. The system includes input filtering to prevent global shortcuts fr

    JavaScript
    View on GitHub↗6,516
  • charmbracelet/bubblescharmbracelet avatar

    charmbracelet/bubbles

    7,796View on GitHub↗

    Bubbles is a terminal user interface toolkit and component library providing a set of pre-built, reusable widgets for creating interactive command-line applications. It functions as a framework for building complex tools that require real-time updates and keyboard navigation. The library includes a variety of specialized interface elements such as fuzzy-filterable item lists, single-line and multi-line text inputs, and tabular data grids. It also provides visual feedback components including animated loading spinners, progress meters, countdown timers, and stopwatches. Additional capabilitie

    Goclielm-architecturehacktoberfest
    View on GitHub↗7,796
  • github/hotkeygithub avatar

    github/hotkey

    3,292View on GitHub↗

    Hotkey is a client-side JavaScript library designed to enhance web application accessibility and navigation through keyboard shortcut integration. It enables developers to bind keyboard shortcuts and multi-key sequences directly to HTML elements using declarative attributes. The library functions as a web component and DOM interaction helper that triggers clicks, focus events, or custom actions when specific key combinations are pressed. The project features document-level event delegation to capture global keyboard inputs efficiently and route them to targeted elements. It includes input sco

    JavaScriptdecoratorshortcuts
    View on GitHub↗3,292
See all 30 alternatives to React Hotkeys→

Frequently asked questions

What does greena13/react-hotkeys do?

React hotkeys is a keyboard shortcut manager designed for declaring, scoping, and handling keyboard shortcuts and focus areas in React applications. It allows developers to define declarative shortcuts by binding key combinations or sequences to action names and handler functions, enabling components to respond predictably to user input.

What are the main features of greena13/react-hotkeys?

The main features of greena13/react-hotkeys are: Focus Management, Keyboard Shortcut Managers, DOM Focus Filtering, Keyboard Shortcuts, Component Focus Management, Focus Management Libraries, Global Keyboard Event Listeners, Active Binding Inspections.

What are some open-source alternatives to greena13/react-hotkeys?

Open-source alternatives to greena13/react-hotkeys include: jaywcjlove/hotkeys-js — hotkeys-js is a JavaScript keyboard shortcut library and event manager used to map key combinations to callback… madrobby/keymaster — Keymaster is a keyboard shortcut library for web applications that provides utilities for intercepting keyboard events… charmbracelet/bubbles — Bubbles is a terminal user interface toolkit and component library providing a set of pre-built, reusable widgets for… github/hotkey — Hotkey is a client-side JavaScript library designed to enhance web application accessibility and navigation through… ssleptsov/ninja-keys — Ninja-keys is a keyboard-driven command palette and quick-launch menu built as a web component for websites and… ccampbell/mousetrap — Mousetrap is a JavaScript keyboard shortcut library used to bind specific key combinations and sequences to custom…

Curated searches featuring React Hotkeys

Hand-picked collections where React Hotkeys appears.
  • Browser tab manager