# <nav-item>

The older spelling of a bottom navigation item: metadata the bar reads, not drawn by itself.

Category: Navigation.

```ham
<screen>
    <main>
        <column style="w-full p-16 gap-8">
            <text style="font-bold">Home</text>
            <text style="muted">Your feed is up to date.</text>
        </column>
    </main>
    <bottom-navigation-bar>
        <nav-item label="Home"
                  action="home"/>
        <nav-item label="Saved"
                  action="saved"/>
    </bottom-navigation-bar>
</screen>
```

How Hype Apps draws it on a phone: [light](https://hypeapps.dev/img/tags/nav-item-light.webp), [dark](https://hypeapps.dev/img/tags/nav-item-dark.webp).

Any tag also takes gestures: `@on.tap`, `@on.longpress`, `@on.doubletap` and `@on.swipeleft` (and right, up and down). `@click` runs on a tap too.

## Related tags

- [`<column>`](https://hypeapps.dev/docs/reference/column.md): Stacks its children top to bottom, with a gap between them and an alignment across.
- [`<text>`](https://hypeapps.dev/docs/reference/text.md): A run of text; with @text it shows an expression that updates as its variables change.
- [`<bottom-navigation-bar>`](https://hypeapps.dev/docs/reference/bottom-navigation-bar.md): The tab bar along the bottom of a screen; each item swaps a page into the main area.
- [`<bottom-nav-item>`](https://hypeapps.dev/docs/reference/bottom-nav-item.md): One item of a bottom navigation bar: an icon and label that load a page or run a statement.
- [`<navigation-rail>`](https://hypeapps.dev/docs/reference/navigation-rail.md): A vertical bar of destinations down the side of the screen, each with its own content panel.
- [`<portal>`](https://hypeapps.dev/docs/reference/portal.md): A live window onto another page: blurred and dimmed under a glass rim, it opens to full screen on a tap.
- [`<rail-item>`](https://hypeapps.dev/docs/reference/rail-item.md): One destination in a navigation rail: an icon, a label and the content shown when it is picked.
- [`<tab>`](https://hypeapps.dev/docs/reference/tab.md): One pane of a tab bar: a label or icon in the bar, and content built the first time it is shown.

All tags: https://hypeapps.dev/docs/reference.md · The full reference: https://hypeapps.dev/llms.txt
