Burger component renders open/close menu button.
onClick props to control Burger state.
opened prop is set cross will be rendered, otherwise – burger:
Burger default colors are
theme.black for light color scheme and
theme.white for dark color scheme.
You can change it to any color value by setting
Burger has predefined sizes: xs, sm, md, lg, xl. Alternatively, you can use a number to set width and height in px:
You can get burger button ref by setting
Burger renders a regular button element.
aria-label props for screen reader support
as by design element does not associated label.