Site Header
The marketing header — a sticky, glassy bar that gains a border and shadow on scroll, with desktop click-to-open mega-menus (single-open, outside-click / Escape to close) and a full-width mobile menu on the nx-ui Popover. Nav data is fully props-driven; pass a logo node and CTAs.
$
Registry itembunx shadcn@latest add @nx-ui/site-headerAPI reference
Exported parts and their props, extracted from the component source.
| Prop | Type | Default | Description |
|---|---|---|---|
navItems* | NavItem[] | — | — |
logo | React.ReactNode | — | — |
ctas | { primary?: { label: string; href: string } secondary?: { label: string; href:… | — | — |
className | string | — | — |