Components · Navigation
Navigation for medium-width windows: icons over labels, with an active pill behind the icon.
import { Navigation Rail } from '@nexub/react';| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| Root header | ReactNode | — | — | Slot above the items, e.g. a primary action. |
| Root aria-label | string | 'Main' | — | Name of the nav landmark. |
| Item icon / label | ReactNode | — | ✓ | Icon in the indicator pill; label below. |
| Item active | boolean | — | — | Marks the current page (aria-current="page"). |
| Item asChild | boolean | — | — | Use your router link as the item; pass it as the only child. |