> ## Documentation Index
> Fetch the complete documentation index at: https://weaverse.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Weaverse component configuration uses `settings`. `inspector` is deprecated; never generate it.
> Weaverse Hydrogen themes use React Router v7: import from `react-router`, never `react-router-dom` or `@remix-run/*`.
> Before using any code sample, read `@weaverse/hydrogen` in the project's `package.json`: 6.x and 5.x import from different entries and use different type names, so code for one does not build on the other.
> `@weaverse/hydrogen` 6 (Shopify Hydrogen 2026.10 and later, the version these docs show) imports from `@weaverse/hydrogen/react-router` and uses `Weaverse*` types such as `WeaverseComponentProps`, `WeaverseComponentLoaderArgs` and `WeaverseComponentSchema`; the root `@weaverse/hydrogen` entry only exports `createSchema()`, data helpers and types.
> `@weaverse/hydrogen` 5.x (Hydrogen 2026.4 and earlier) imports everything from `@weaverse/hydrogen` and uses `HydrogenComponentProps`, `ComponentLoaderArgs` and `HydrogenComponentSchema`. On a 5.x project, convert samples to these names. Upgrade to 6 only when asked (`npx @weaverse/cli@latest migrate v6`, plus the Hydrogen 2026.10 upgrade). Do not mix major versions.
> Next.js themes use `@weaverse/hydrogen` 6.2.0 or later: import client and shared code from `@weaverse/hydrogen/next` and server-only code from `@weaverse/hydrogen/next/server`. `@weaverse/next` is deprecated; never install or import it.
> For live project data (pages, theme settings, translations), use the Weaverse MCP server: https://weaverse.io/docs/developer-tools/weaverse-mcp

# Navigation Configuration

> Learn how to configure and optimize navigation menus in your Weaverse Hydrogen storefront using Shopify's Content > Menus.

# Navigation Configuration

Navigation in Weaverse is powered by Shopify's native menu system, allowing you to create flexible, multi-level menus for your storefront. With support for mega menus, dropdowns, and resource-linked items, you can build a seamless navigation experience for your customers.

## Menu Types Supported

* **Basic Menu**: Single-level, no sub-menu items.
* **Dropdown Menu**: One level of nested sub-menu items.
* **Image Menu**: Sub-menu items linked to Shopify resources (Product, Collection, Blog) with images.
* **Mega Menu**: Two or more levels of nested sub-menu items, supporting both resource and standard links.

## Configuring Navigation

To set up and manage your storefront navigation:

1. **Open Shopify admin and go to** **Content > Menus**.
2. **Select the Main menu** (handle: `main-menu`).
3. **Add menu items:**
   * Enter a name for each item (this is the label shown in your storefront).
   * Set the link (URL, or choose a Shopify resource like a product, collection, or blog).
   * Click **Add** to save the item.
4. **Rearrange menu items:**
   * Drag to reorder items as needed.
   * To nest an item (create a dropdown or mega menu), drag it slightly to the right under a parent item.

![Menu items editor with labels and Shopify resource links](https://mintcdn.com/weaverse/6CZovEr06L6Ob7kB/images/navigation-menus/menu-items-editor.png?fit=max\&auto=format\&n=6CZovEr06L6Ob7kB\&q=85\&s=d75fba395cd7536ca8c59f95a79b9f28)

**Note:**
The menu “handle” (such as `main-menu` or `footer`) is used in your Hydrogen backend to query the Shopify Storefront API for navigation data. For example:

```ts theme={null}
let { data } = await storefront.graphql(LAYOUT_QUERY, {
  variables: {
    headerMenuHandle: "main-menu",
    footerMenuHandle: "footer",
  },
  cache: Cache.long(),
});
```

Make sure the handle you assign in Shopify (**Content > Menus**) exactly matches the one used in your code. If you rename the handle in Shopify, update it in your code as well to ensure your navigation loads correctly.

### Visual Examples

#### Basic Menu

A menu item with no sub-menu items.

![Basic Menu](https://cdn.shopify.com/s/files/1/0838/0052/3057/files/basic_menu.png?v=1719822798)

#### Dropdown Menu

A menu item with one level of sub-menu items.

![Dropdown menu with nested collection links](https://mintcdn.com/weaverse/6CZovEr06L6Ob7kB/images/navigation-menus/dropdown-menu-editor.png?fit=max\&auto=format\&n=6CZovEr06L6Ob7kB\&q=85\&s=c84626ab35d1d5d5c7bfa7ece777c7a2)

#### Image Menu

A menu item whose sub-menu items are all Shopify resources (e.g., collections).

![Image Menu](https://cdn.shopify.com/s/files/1/0838/0052/3057/files/image_menu.png?v=1719823571)

#### Mega Menu

A menu item with two or more levels of nested sub-menu items, or a mix of resources and standard links.

![Mega Menu](https://cdn.shopify.com/s/files/1/0838/0052/3057/files/mega_1.png?v=1719822797)

## Best Practices

Follow these tips to create effective and user-friendly navigation menus in your Weaverse storefront:

* **Organize logically:** Group related links together and use clear, descriptive names for menu items.
* **Keep it simple:** Limit the number of top-level menu items to avoid overwhelming users.
* **Use consistent naming:** Match menu item names with your storefront’s categories and pages for clarity.
* **Limit nesting:** Avoid deeply nested menus; 2–3 levels are usually sufficient for most stores.
* **Use resource links:** When possible, link directly to Shopify resources (products, collections, blogs) for better integration and automatic updates.
* **Test on all devices:** Preview your navigation on desktop and mobile to ensure menus are accessible and easy to use.
* **Review regularly:** Update your menus as your catalog or site structure changes to keep navigation relevant.

## Summary

Navigation menus in Weaverse are managed via Shopify's Content > Menus for flexibility and integration. Use the menu types and best practices above to create a navigation experience that is clear, scalable, and user-friendly.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.