Gathering detailed insights and metrics for hamburger-react
Gathering detailed insights and metrics for hamburger-react
Gathering detailed insights and metrics for hamburger-react
Gathering detailed insights and metrics for hamburger-react
@fremtind/jkl-hamburger-react
Jøkul react hamburger component
react-burger-menu
An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations
react-hamburger-menu
Dead simple Hamburger Menu to use as a mobile nav, with a bunch of styling options.
react-hamburger-drawer
Simple lightweight react hamburger navigation drawer.
Animated hamburger menu icons for React.js weighs only 1.5 KB.
npm install hamburger-react
Typescript
Module System
Node Version
NPM Version
TypeScript (98.76%)
JavaScript (1.24%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,029 Stars
459 Commits
40 Forks
5 Watchers
2 Branches
8 Contributors
Updated on Jul 10, 2025
Latest Version
2.5.2
Package Id
hamburger-react@2.5.2
Unpacked Size
76.47 kB
Size
7.83 kB
File Count
51
NPM Version
10.8.2
Node Version
20.13.1
Published on
Dec 20, 2024
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
Hamburger menu icons for React, with CSS-driven transitions. Created to be as elegant and performant as possible. This means no JavaScript animations, no transitions on non-cheap properties and a small size.
1npm install hamburger-react
When using one hamburger, ~1.5 KB will be added to your bundle (min + gzip).
Visit the website for full documentation, API and examples. A basic implementation looks as follows:
1import Hamburger from 'hamburger-react'
1const [isOpen, setOpen] = useState(false)
1<Hamburger toggled={isOpen} toggle={setOpen} />
Or without providing your own state:
1<Hamburger onToggle={toggled => ...} />
Yes. Since the creation of these burgers in 2015 a lot of similar ones have appeared, with one or more of the following downsides:
It is recommended to have a tap/click area of at least 48x48 pixels. Therefore, padding will be added around the icon to create a surface of exactly this size.
Keyboard interaction is provided with the enter
key, and the icon element has the recommended accessibility attributes (such as role
). You can use the label
property to supply an ARIA label for the icon.
The icons are hooks-based, and will work with React 16.8.0 ('the one with hooks') or higher.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/20 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- 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
Reason
109 existing vulnerabilities detected
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