--- title: Page Nav description: Sub-navigation row for page chrome, placed below breadcrumbs and outside PageHeader. fragment: true --- ## Usage ```tsx import { NavMenu, NavMenuItem } from 'ui' import { PageNav } from 'ui-patterns/PageNav' ``` ```tsx Overview Logs ``` ## Sub-components - `PageNav` — container for `NavMenu` tab navigation. The bottom border always spans the full width. ## Props | Prop | Type | Default | Description | | ------ | ------------------------------------------- | -------- | -------------------------------------------------------------------- | | `size` | `'small' \| 'default' \| 'large' \| 'full'` | `'full'` | Width and padding of the nav content, same values as `PageContainer` | `PageNav` uses `PageContainer` for width and padding. It does not depend on `PageHeader`. Set `size` to match the sibling `PageHeader` and page content so the tabs line up with the title and body. With `full` (the default), the tabs span edge to edge with the page chrome's `px-4` padding. Any other size uses `PageContainer`'s max-width and padding, so on wide viewports the tabs stay centered with the rest of the page. ```tsx … … … ``` Place it directly below `PageBreadcrumbs` and outside `PageHeader`. For legacy pages, `PageHeaderNavigationTabs` remains available on `PageHeader`.