
Description
react-aria-menubutton is a React component for menu buttons, the kind of button that opens a list of actions. It is built to follow the WAI-ARIA Menu Button design pattern closely, so the keyboard interactions and ARIA attributes that screen reader users rely on are handled by the component rather than written by hand. Focus is managed when the menu opens and closes. The README lists its goals as full accessibility, maximum flexibility, absolutely minimal styling, thorough testing and useful modularity. Because it ships almost no visual styling, you bring your own CSS and markup and the menu takes the look of your app. Typing a letter while the menu is open moves focus to the next item that starts with that letter, and continuing to type narrows the search. The package includes built-in TypeScript support. Some of its lower-level code is split into framework-agnostic modules, focus-group and teeny-tap, which the author notes could be shared with other libraries. The source is public on GitHub, and the author asks for issues if anyone sees ways to make the component more accessible.…
Highlights
- Menu button that follows the WAI-ARIA Menu Button pattern
- Keyboard interactions and ARIA attributes handled for you
- Letter navigation to jump to items by their first letter
- Minimal styling, so you control the look
- Built-in TypeScript support
- Lower-level modules focus-group and teeny-tap
Ratings & Reviews
No ratings yet
Be the first to rate react-aria-menubutton.
People also visit

react-command-palette
WAI-ARIA compliant React command palette like the one in Atom
react-accessible-treeview
A react component that implements the treeview pattern as described
react-horizontal-scrolling-menu
Horizontal scrolling menu component for React with per-item visibility tracking
react-aria-menubutton FAQ
What is react-aria-menubutton?
A React component for menu buttons, which open a list of options from a button. It is built to follow the WAI-ARIA Menu Button design pattern for keyboard use and screen readers.
Is it free to use?
Yes. The source code is public on GitHub and listed as open source.
Does it come with styles?
No. The README says styling is kept absolutely minimal, so you write your own CSS and markup for the menu and its items.
Does it support TypeScript?
Yes. The package has built-in TypeScript support.
How does keyboard use work?
The menu follows the WAI-ARIA pattern: focus moves into the menu when it opens, arrow keys move between items, and typing a letter jumps to a matching item. The README asks for issues if the component could be more accessible.
What are the best react-aria-menubutton alternatives?
Popular alternatives to react-aria-menubutton include react-simple-tree-menu, react-contexify and react-command-palette. See all react-aria-menubutton alternatives












