Main Nav
Header navigation combining logo, links, and actions.
Overview #
A complete header navigation component that combines a logo, navigation links, and action buttons. Includes Bar and Mobile for responsive layouts that automatically switch between desktop and mobile views.
Properties #
logoSource string
Logo image source URL or path. Leave empty to hide the logo.
logoAlt string | default: Logo
Alt text for the logo image for accessibility.
navData array | default: array
Array of navigation items to render in the navigation bar.
name string
Display text for the navigation item.
path string
URL path for the navigation item.
children array | default: array
Child navigation items for dropdown menus.
name string
Display text for the child navigation item.
path string
URL path for the child navigation item.
children array | default: array
Grandchild navigation items for nested dropdowns.
name string
Display text for the grandchild navigation item.
path string
URL path for the grandchild navigation item.
buttonSections array | default: array
Array of button components to display in the navigation bar. See the Button component documentation for more information.