# Nav list API

> Explore the API of Cimpress UI's nav list component.

Source: https://ui.cimpress.io/components/nav-list/api/

## Import

```tsx
import { UNSTABLE_NavList, UNSTABLE_NavListGroup, UNSTABLE_NavListItem } from '@cimpress-ui/react';
```

## API reference

### UNSTABLE_NavList

Displays a vertical navigation list.

**Props: `UNSTABLE_NavListProps`**

- `children` (required): `ReactNode`

### UNSTABLE_NavListItem

Displays a single navigation item.

**Props: `UNSTABLE_NavListItemProps`**

- `children` (required): `StringLikeChildren`

- `icon`: `ReactNode`

- `href`: `string`

  A URL to link to.

- `isCurrent`: `boolean`

- `isDisabled`: `boolean`

- `routerOptions`: `undefined`

  Options for the configured client side router.

- `hrefLang`: `string`

  Hints at the human language of the linked URL.
  See[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#hreflang).

- `target`: `HTMLAttributeAnchorTarget`

  The target window for the link. See
  [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target).

- `rel`: `string`

  The relationship between the linked resource and the current page. See
  [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel).

- `download`: `string | boolean`

  Causes the browser to download the linked URL. A string may be provided to suggest a file name.
  See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download).

- `ping`: `string`

  A space-separated list of URLs to ping when the link is followed. See
  [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#ping).

- `referrerPolicy`: `HTMLAttributeReferrerPolicy`

  How much of the referrer to send when following the link. See
  [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#referrerpolicy).

### UNSTABLE_NavListGroup

Displays an expandable navigation item group.

**Props: `UNSTABLE_NavListGroupProps`**

- `children` (required): `ReactNode`

- `label` (required): `StringLikeChildren`

- `icon`: `ReactNode`

- `isExpanded`: `boolean`

- `defaultExpanded`: `boolean`

- `onExpandedChange`: `(isExpanded: boolean) => void`

- `isDisabled`: `boolean`
