Header
<nsx-header> Overview
Navigation segments contained within the header.
Examples
Guidance
Implementation
Placement
The nsx-header component can only be used as a child of the <main> element.
Specification
Attributes
sections
- Property
sections- Description
- The heading sections to display in the header.
- Type
Array
secondary-banner
- Property
secondaryBanner- Type
array
menu-banner
- Property
menuBanner- Type
array
quick-links
- Property
quickLinks- Type
array
hide-a11y-btn
- Property
hideA11yBtn- Description
- Whether to hide the accessibility button.
- Type
boolean- Default
false
type
- Property
type- Type
string- Default
standard
Slots
| Slot | Permitted tags | Description |
|---|---|---|
| Anonymous slot | Dynamic slot for links to override links or utilise for frameworks. |
Events
| Name | Description |
|---|---|
header-click | Dispatched when a link is clicked. |