The menu is an organized list of links to other pages
The menu usually appears in the bottom part of the page header, and it sometimes can be seen in mobile navigation tabs at the bottom of the screen.
The menu can have different states:
Also, we have multiple levels under which content can be rendered.
desktop
mobile
Designs should represent all 3 levels with expanded and collapsed views and if animation for the menu is needed, it should be displayed in the prototype or described in the designs.
The menu tree is configured in the admin panel under ScandiPWA/MenuManager
.
The link can be assigned to the PLP, CMS Page, or custom URL.
The Menu
component is responsible for rendering the menu. By default, it is rendered inside Header
component.
The MenuItem
component is responsible for rendering individual menu items.
<aside> ℹ️ Usually, styling this element takes from-to: 4-6h
</aside>
Menu.override.style.scss
If you need to add specific color for a certain menu element (for example red item for the SALE category), a certain class has to be added in the Menu Manager for this element and needed styles has to be applied to the FE, taking into consideration, that this part requires to BE adjustments, we consider this part to be done by the project team.
In some designs upper menu is present but moving navigation to the top is the scope of the navigation layout.