Navigation
Top-level navigation bar with logo, nav items, and action elements.
Import
Basic Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| logo | React.ReactNode | - | Logo or brand element displayed on the left |
| items | NavItem[] | [] | Navigation items displayed center-left |
| actions | React.ReactNode | - | Action elements (search, user menu, etc.) displayed on the right |
| showBorder | boolean | true | Whether to show bottom border separator |
| className | string | - | Additional CSS class names |
NavItem
| Prop | Type | Description |
|---|---|---|
| label | string | Display label for the navigation item |
| href | string | URL for anchor-based navigation |
| onClick | () => void | Click handler for programmatic navigation |
| isActive | boolean | Whether this item represents the current page |