Use the navigation menu component when you require a menu with dropdown and nesting capabilities. It should only be used to navigate to new pages. If you require in page navigation, use action menu or in-page navigation instead.
- Use when users will be directed to other pages.
- Plan for localization. Certain strings may expand in length when translated to other languages.
Also known as
- The triggering element has both
- The menu being toggled has
- Associate the triggering element with the menu it expands by using
aria-controlswith the value of the menus
- Schema definition: The navigation-menu schema defines the acceptable configurations, requirements, and options for each component.