Navigation & Headers

Menu Side by Side

Desktop side-by-side off-canvas category menu with slide-in transitions between hierarchical levels.

Overview

MenuSideBySide brings the mobile-app side-by-side category browsing pattern to desktop. The off-canvas panel slides in from the left; tapping a node slides the next level in alongside it. 300ms transitions and a back button keep the hierarchy obvious as users drill in and out. The panel keeps main content visible behind it so shoppers stay oriented while browsing categories.

The compound is MenuSideBySide (root) plus MenuSideBySideRoot, MenuSideBySideChild, and MenuSideBySideNode for the individual nodes.

Reuse the same category data on MobileMenuShop so desktop and mobile menus stay in sync.

Key Business & UX Benefits

  • Drill-down with the main page still visible keeps shoppers oriented in deep catalogs, which reduces drop-off compared with full-page or full-overlay category pickers.
  • 300ms transitions and a back button make the hierarchy obvious, so even occasional visitors can find a niche category without learning the site first.
  • The same category data backs desktop and mobile menus, so a category rename or reorder ships everywhere in one Studio edit instead of two parallel changes.
  • Familiar mobile-app browsing pattern on desktop shortens the learning curve for app-first audiences and lifts engagement on deep taxonomies.
Pro-Tip from Larry: Pass the same navigationMenuItems to MobileMenuShop so the desktop drill-down and mobile menu reflect the same catalog.

Usage

LMenuSideBySide

Feature List

  • Off-canvas panel slides in from the left and the next level slides in alongside it as users drill into the catalog
  • 300ms transitions plus a back button keep the hierarchy obvious during drill-in and drill-out
  • Main page stays visible behind the panel so shoppers keep their place in the catalog
  • Compound splits into `MenuSideBySide`, `MenuSideBySideRoot`, `MenuSideBySideChild`, and `MenuSideBySideNode` for per-level control
  • Same `navigationMenuItems` array can be reused by `MobileMenuShop` to keep desktop and mobile catalogs in sync
  • Familiar mobile-app browsing pattern on desktop shortens the learning curve for app-first audiences

API Reference

PropDefaultType
categoryNodesrequired
selectedItemIdstring
logo
categoryListPageHrefstring
rootMenuItems
openboolean
EventType
update:open(event: "update:open", value: boolean): void
update:selectedItemId(event: "update:selectedItemId", value: string): void
PropDefaultType
categoryNodesrequired
menuItems
activeCategoryIdsstring[]
EventType
nodeClick(event: "nodeClick", categoryNode: NavigationNode): void
PropDefaultType
titlerequiredstring
categoryNodesrequired
hrefstring
activeCategoryIdsstring[]
EventType
nodeClick(event: "nodeClick", categoryNode: NavigationNode): void
PropDefaultType
idrequiredstring
titlerequiredstring
media
showChevronboolean
hrefstring
activeboolean
children
EventType
nodeClick(event: "nodeClick", navigationNode: NavigationNode): void
Copyright © 2026 Laioutr GmbH