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:
Burger renders a regular button element. Include
aria-label props for screen reader support
as by default element does not associated label.