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 behaviour.
Programmatically move focus to the component.
Programmatically remove focus from the component.
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 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.
- Don’t use as a generic button or toggle. Use the Button component instead.
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.