# greena13/react-hotkeys

Declarative hotkey and focus area management for React

Repository: https://github.com/greena13/react-hotkeys
Canonical: https://ross.abutalabs.com/products/react-hotkeys
Homepage: https://github.com/greena13/react-hotkeys
Language: JavaScript
License: ISC
License Family: permissive
Last push: 2023-01-04T01:16:24+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4170, "days_push": 1338, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2153, forks 160 (observed 2026-08-28T04:06:19.457421+00:00)

## What it is
A declarative React library for managing keyboard hotkeys and focus areas via JSX components and higher-order components. It supports global and in-focus key maps, Mousetrap-style syntax, runtime rebindable shortcuts, and is optimized for large applications.

## Use cases
- add keyboard shortcuts to a react app
- handle global hotkeys in react
- let users customize keyboard shortcuts at runtime
- manage focus areas with keyboard navigation
- display a list of available hotkeys to users
- define app-wide keybindings declaratively

## When to choose
- you need declarative, component-scoped hotkey handling in React
- your app has many simultaneous hotkeys and needs predictable event handling
- you want users to rebind shortcuts at runtime

## When to avoid
- you need actively maintained software - the project is seeking new maintainers
- you are not using React
- you only need a simple keydown listener without declarative scoping

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, developer-tools
- domain: web-development, frontend, accessibility
- platform: browser
- tags: react, hotkeys, keyboard-shortcuts, declarative, hoc, nodejs

## Member repositories
- greena13/react-hotkeys (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:19.457421+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:50:38.136307+00:00, confidence not recorded.
  - readme: https://github.com/greena13/react-hotkeys (fetched 2026-08-28T04:06:19.457421+00:00, sha 3d99c78d5d44)
  - homepage: https://github.com/greena13/react-hotkeys (fetched 2026-08-29T10:30:57.776519+00:00, sha b32cf2420390)
- Data as of 2026-08-30T08:39:29.467469+00:00.
