---
type: doc
title: Navigation Menu
description: Native Liquid navigation menu with readable CSS and shared data-slot parts.
---

> Native Liquid and CSS. Install from `https://ui.full.dev/r/liquid/{name}.json`; see [layout setup](/liquid/docs/installation.md). No Tailwind or consuming build.

```liquid title="liquid/examples/navigation-menu.liquid"
<nav data-slot='navigation-menu' aria-label='Example navigation'>
  <ul data-slot='navigation-menu-list'>
    <li data-slot='navigation-menu-item' data-value='products'>
      <button type='button' data-slot='navigation-menu-trigger'>Products</button>
      <div data-slot='navigation-menu-content'>
        <a href='{{ routes.all_products_collection_url }}' data-slot='navigation-menu-link'>All products</a>
      </div>
    </li>
  </ul>
  <div data-slot='navigation-menu-viewport'></div>
</nav>
```

## Installation

```bash
npx shadcn@latest add https://ui.full.dev/r/liquid/navigation-menu.json
```

Follow the [one-time layout setup](/liquid/docs/installation/). A full `components` install already includes this item.

## Usage

After this install, render these once in the layout head before theme overrides and other modules. The full `ui` hook already includes them. The command also installs the parts used in this example.

```liquid
{% render 'ui-init' %}
{% render 'ui-button' %}
{% render 'ui-runtime' %}
{% render 'ui-navigation-menu' %}
```

The preview and its Usage tab render the same native Liquid source. Use `data-slot` for parts, `data-variant` for variants and `data-size` for sizes. Keep your store's labels, translations and Shopify data in your theme.

## Parts

`navigation-menu-content`, `navigation-menu-link`, `navigation-menu-list`, `navigation-menu-popup`, `navigation-menu-positioner`, `navigation-menu-trigger`, `navigation-menu-viewport`.

[Component source](https://github.com/fulldotdev/ui/tree/main/liquid/components/navigation-menu.liquid) · [Theming](/liquid/docs/theming/)

## Install what this page shows

```bash
npx shadcn@latest add https://ui.full.dev/r/liquid/navigation-menu.json
```
