Nav toggle is meant for hiding and showing the primary navigation. This component is used internally in the Layout component, but can also be used separate to further customize the behavior.
focus(options?: FocusOptions) => void
options: An object which controls aspects of the focusing process.
Programmatically move focus to the component.
blur() => void
Programmatically remove focus from the component.
click() => void
Programmatically simulates a click on the component.
This component requires localization in a multi-lingual application. The following keys are required when registering a translation:
Accessible label for the nav toggle button.
For full localization guidelines, please see Localization documentation.
This component is internally dependent on the following components:
This section includes guidelines for designers and developers about the usage of this component in different contexts.
- Use a tooltip with the toggle that’s labelled as
- We recommend setting a keyboard shortcut that toggles the navigation.
If you experience any issues while using Nord Web Components, please head over to the Support page for more guidelines and ways to contact us.