# szhsin/react-menu

React component for building accessible menu, dropdown, submenu, context menu, and more

Repository: https://github.com/szhsin/react-menu
Canonical: https://ross.abutalabs.com/products/react-menu
Homepage: https://szhsin.github.io/react-menu/
Language: JavaScript
License: MIT
License Family: permissive
Topics: react, menu, contextmenu, dropdown, menubutton, submenu, checkbox, radio-buttons, accessibility, wai-aria, sub-menu, tooltip
Last push: 2026-08-23T11:13:33+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 75, longevity 100
- inputs: {"age_days": 2198, "days_push": 10, "days_rel": 88, "gap_med": 50.5, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1217, forks 59 (observed 2026-08-28T04:04:01.476990+00:00)

## What it is
A lightweight, unstyled React component library for building accessible menus, including dropdown, hover, context menus, and nested submenus. It implements the WAI-ARIA menu pattern with full keyboard interaction and supports React 18 concurrent rendering and server-side rendering.

## Use cases
- add an accessible dropdown menu to a react app
- build a context menu with right-click in react
- create nested submenu navigation in react
- make a keyboard-navigable menu with wai-aria compliance
- add radio button or checkbox menu items in react
- style my own menu components without default css
- add a tooltip to a menu button in react

## When to choose
- you need accessible, WAI-ARIA compliant menus in React with full keyboard support
- you want unstyled components so you can apply your own design system
- you need nested submenus, radio/checkbox items, or context menus out of the box
- you need SSR compatibility and React 18 concurrent rendering support

## When to avoid
- you are not using React
- you want pre-styled, opinionated menu components with built-in themes
- you need a full navigation bar or mega-menu solution rather than menus
- you need mobile-native menus outside the web platform

## Facets
- artifact type: library
- maturity: active
- function: ui-components, accessibility, frontend-framework
- domain: frontend, web-development, accessibility
- platform: browser
- tags: react, menu, dropdown, context-menu, submenu, wai-aria, keyboard-navigation, tooltip, -unstyled, web-server, nodejs

## Member repositories
- szhsin/react-menu (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.476990+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-30T06:17:09.775783+00:00, confidence not recorded.
  - readme: https://github.com/szhsin/react-menu (fetched 2026-08-28T04:04:01.476990+00:00, sha 3769f1752b57)
  - homepage: https://szhsin.github.io/react-menu/ (fetched 2026-08-29T12:24:58.684120+00:00, sha e02503cab836)
- Data as of 2026-08-30T08:39:29.467469+00:00.
