
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
react-hamburger-drawer
Advanced tools
Simple lightweight react hamburger navigation drawer (based on navigation-drawer).
<input type="checkbox">
as a toggle;<label>
element for veil;npm install react-hamburger-drawer
# Or
yarn add react-hamburger-drawer
import HamburgerDrawer from "react-hamburger-drawer";
<div className="App">
<header>
<HamburgerDrawer>
<!-- Your navigation drawer content here: -->
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/privacy-policy">Privacy Policy</a></li>
</ul>
</HamburgerDrawer>
<h1>Your Application Header</h1>
...
</header>
...
</div>
useFocusBounder
- An optional property to enable or disable FocusBounder component. Default false
.All components inside the app directory are React Server Components by default. To use
useRef
oruseEffect
hooks, the component must be marked as client component:"use client"
.
Create a "drawer.js" file with the following content:
"use client";
import HamburgerDrawer from "react-hamburger-drawer";
export default HamburgerDrawer;
And import the HamburgerDrawer
component from the "drawer.js" module:
import HamburgerDrawer from "./drawer";
Links:
![]() |
![]() |
FAQs
Simple lightweight react hamburger navigation drawer.
The npm package react-hamburger-drawer receives a total of 12,825 weekly downloads. As such, react-hamburger-drawer popularity was classified as popular.
We found that react-hamburger-drawer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.