# Navs

## Overview

Use this fieldtype to create a one-way relationship with one or more navigations in your site. It's a simple-little-helper type of thing.

## Data Structure

The Navs fieldtype stores the `handle` of a single navigation as a string, or an array of handles if `max_items` is greater than 1.

``` yaml
navigations:
  - main_nav
  - footer
  ```

## Templating

Loop through the structures to  access their handles and pass them to a [Nav](/tags/nav.md) tag.

::tabs

::tab antlers
```antlers
{{ navigations }}
  <ul>
    {{ nav :handle="handle" }}
      <li><a href="{{ url }}">{{ title }}</a></li>
    {{ /nav }}
  </ul>
{{ /navigations }}
```
::tab blade
```blade
@foreach ($navigations as $nav)
  <ul>
    <statamic:nav
      :handle="$nav"
    >
      <li><a href="{{ $url }}">{{ $title }}</a></li>
    </statamic:nav>
  </ul>
@endforeach
```
::

```html
<ul>
  <li><a href="/look-at-this">Look at This!</a></li>
  <li><a href="/look-at-that">Wait, Look at That!</a></li>
</ul>
```
