---
title: NavMenu
description: A horizontal list of related views within a consistent context.
component: true
---
This component is titled very similarly to the [Navigation Menu](../components/navigation-menu)
component. Consider renaming it to something like TabMenu or
[UnderlineNav](https://primer.style/product/components/underline-nav/).
## Usage
Use `NavMenu` as sub-navigation inside [Page Nav](../fragments/page-nav). See
[Layout patterns](../ui-patterns/layout).
```tsx
import { NavMenu, NavMenuItem } from 'ui'
```
```tsx
Overview
Documentation
```
## Examples
### With counter badges
You may include counter badges to indicate the number of items within a tab, for example the amount of buckets in storage.
### With icons
You may include icons to more clearly represent the content of each tab. Every tab should have an icon (or no icon).