Burger
Open/close navigation button
Source
LLM docs
Docs
PackageIcon
Usage
The Burger component renders an open/close menu button.
Set the opened and onClick props to control the component state.
If the opened prop is set, a cross will be rendered, otherwise a burger icon.
Size
Change line size
Line size
Get element ref
Accessibility
To make the Burger accessible for screen readers, you need to either set aria-label or
use the VisuallyHidden component: