Skip to content

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

SlotPermitted tagsDescription
Anonymous slotDynamic slot for links to override links or utilise for frameworks.

Events

NameDescription
header-clickDispatched when a link is clicked.