---
title: "AppNav"
description: "App sidebar navigation. Wraps the Polaris <s-app-nav> web component."
canonical_url: "https://shopify.yan.ad/components/navigation/app-nav"
---
# AppNav

> App sidebar navigation. Wraps the Polaris <s-app-nav> web component.

## Live preview

This component integrates with Shopify App Bridge and requires an authenticated Shopify admin host. It cannot run faithfully in a standalone documentation iframe. Use the [authenticated playground](https://github.com/yan-ad/nuxt-shopify/tree/main/playground) to try it with your development store.

## Shopify admin example

```vue
<template>
  <ShAppNav>
    <a href="/" rel="home">Home</a>
    <a href="/products">Products</a>
    <a href="/settings">Settings</a>
  </ShAppNav>
</template>
```

<tip>

Most apps should use `<ShApp>` instead, which renders `<ShAppNav>` automatically from the `navLinks` config.

</tip>

## Props

This component has no explicit props. All attributes are forwarded to the underlying `<s-app-nav>` element.

## Slots

<table>
<thead>
  <tr>
    <th>
      Slot
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      Navigation link items
    </td>
  </tr>
</tbody>
</table>

## Polaris Element

Renders as `<s-app-nav>`. See [Polaris AppNav docs](https://shopify.dev/docs/api/app-home/web-components/navigation/app-nav).


## Sitemap

See the full [sitemap](https://shopify.yan.ad/sitemap.md) for all pages.
