React Storefront
|

MenuIcon

A menu icon that animates transitions between open and closed states.

Import
import MenuIcon from 'react-storefront/MenuIcon'

Props

NameTypeDefaultDescription
openboolfalse

Set to true when the menu is open, otherwise false

labelbooltrue

Set to false to hide the text "menu" underneath the button when the menu is closed.

CSS API

You can override all the class names injected by Moov-PWA thanks to the classes property. This property accepts the following keys:

  • root
  • active
  • withLabel
  • label