Second Nav Header is a secondary navigation bar that appears above the primary navigation and provides additional context or controls.
Loading demo: second-nav-header-real-world
npx sdaia-ui@latest add second-nav-header
import { SecondNavHeader } from '@/components/ui/SecondNavHeader';<SecondNavHeader style="gray" />Secondary navigation header in the primary brand colour.
Loading demo: second-nav-header-ltr
Secondary navigation header in the grey style.
Loading demo: second-nav-header-clear-hierarchy
Props for the Second Nav Header component.
Prop | Type | Default | Required |
|---|---|---|---|
items | SubHeaderItemProps[] | — | optional |
instance | ReactNode | — | optional |
label | string | — | optional |
actions | ReactNode | — | optional |
divider | boolean | true | optional |
dir | 'ltr' | 'rtl' | — | optional |
rtl | boolean | — | optional |
className | string | — | optional |
How this component behaves at the three system breakpoints. Spacing and type tokens switch automatically at 768px and 1280px.
| Screen | Behavior |
|---|---|
| Desktop (1280px and up) | Full width of the page, with wider side padding from 1024px. |
| Tablet (768–1279px) | Same layout as desktop, with the tablet token values. |
| Phone (under 768px) | Full width with the mobile token values. |