Slab separates desktop navigation (dropdown menus in the header) from the menu overlay (the panel that opens when customers tap the menu control on smaller screens or when a button is set to open the menu). You build the link structure in the Shopify admin, then style behavior and layout in the theme editor.
For how overlay blocks connect to theme actions, see Overlays and popups. For flex layouts often used next to menus in the header, see Grid layouts.
The Menu dropdown block drives the main horizontal navigation with hover or click dropdowns, nested links, and optional featured content beside links.
When to use Menu dropdown
The storefront menu action opens whichever overlay block is assigned the Menu overlay preset in Overlay group. The default theme content often uses a Drawer block (commonly named Menu drawer) with a Menu page or Menu block inside it.
When to use the overlay menu
Only one overlay block should use the Menu overlay preset at a time.
Menu controls in the header use the same Menu overlay action. On a Button block, turn on Enable custom action, set Overlay to Menu overlay, so the button opens the overlay you configured above.
navigation_[link-handle].jpg (the handle is derived from the link title), matching the pattern used in the Menu block.For top-level items that should span the viewport like a mega menu, use the Full width dropdown setting on the Menu dropdown block.
Best sellers, Sale, New arrivals.Enable internal padding on the dropdown applies to non-full-width dropdowns; full-width panels use wider edge padding in the theme.
Full-width dropdowns still respect a maximum height with scrolling when content is tall, so long lists remain usable on smaller screens.
| Setting | What it controls |
|---|---|
| Layout (dropdown) | Stacked or Inline arrangement of child link groups in the panel. Default Stacked. |
| Enable internal padding | Adds padding inside the dropdown content when the panel is not full width. Default on. |
| Enable margin | When Full width dropdown has values, applies horizontal margin from theme layout settings. Default on. |
| Gap size (dropdown) | Spacing inside the dropdown panel; how it applies depends on Layout (stacked or inline) and whether the panel is full width. |
| Full width dropdown | Comma-separated parent link titles that use a full viewport-width panel. |
| Enable click to open | Parents with children become toggle buttons; dropdown closes on outside click. Default off (hover/focus behavior). |
| Horizontal alignment | Aligns the row of parent links: Left, Center, or Right. |
Start by connecting your source repository and choosing the pages you want to publish.
You can then browse your documentation and ask questions about the content your team has shared.