Gathering detailed insights and metrics for @szhsin/react-menu
Gathering detailed insights and metrics for @szhsin/react-menu
Gathering detailed insights and metrics for @szhsin/react-menu
Gathering detailed insights and metrics for @szhsin/react-menu
React component for building accessible menu, dropdown, submenu, context menu, and more
npm install @szhsin/react-menu
Typescript
Module System
Node Version
NPM Version
JavaScript (88.39%)
SCSS (11.44%)
Shell (0.16%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,198 Stars
1,161 Commits
57 Forks
9 Watchers
8 Branches
11 Contributors
Updated on Jul 09, 2025
Latest Version
4.4.1
Package Id
@szhsin/react-menu@4.4.1
Unpacked Size
162.42 kB
Size
38.53 kB
File Count
83
NPM Version
10.9.2
Node Version
22.14.0
Published on
May 21, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
29
An accessible, keyboard-friendly React menu library
with npm
1npm install @szhsin/react-menu
or with Yarn
1yarn add @szhsin/react-menu
1import { Menu, MenuItem, MenuButton, SubMenu } from '@szhsin/react-menu'; 2 3export default function App() { 4 return ( 5 <Menu menuButton={<MenuButton>Open menu</MenuButton>}> 6 <MenuItem>New File</MenuItem> 7 <MenuItem>Save</MenuItem> 8 <SubMenu label="Edit"> 9 <MenuItem>Cut</MenuItem> 10 <MenuItem>Copy</MenuItem> 11 <MenuItem>Paste</MenuItem> 12 </SubMenu> 13 <MenuItem>Print...</MenuItem> 14 </Menu> 15 ); 16}
Edit on CodeSandbox
Visit more examples and docs
FAQs
Still on an old version? Please checkout our migration guides.
MIT Licensed.
No vulnerabilities found.
Reason
27 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
branch protection is not maximal on development and all release branches
Details
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More