Menu
Menu
An arrow-key navigable Menu which consists of MenuItems. A Menu can be employed to produce its common variants, including dropdown menus, select menus, and others. Menus are keyboard navigable with both tab and arrow keys.
MenuItem
A MenuItem is its own distinct component that is used by any kind of menu overlays i.e. dropdown menu and navigation menu.
A Menu can include things like forms.
A Menu can be implemented to appear inside a modalpopup for a wide variety of use cases. The Modal brings focus to the first menu element upon the click of the trigger, and can be escaped on click away or key press.
- classNamestringSpecifies class name to append to the base element 
- arrowKeyNavigationSelectorstringDefault'a:not(:disabled),button:not(:disabled),input:not(:disabled)'Specifies the CSS selector string that indicates to which elements the user can navigate using the arrow keys 
- aselementTypeDefault'div'Specifies the base element 
- childrennodeDefaultnullSpecifies the content of the menu 
- defaultSelectedboolDefaultfalseSpecifies that this MenuItemis selected inside theSelectMenu
- classNamestringSpecifies class name to append to the base element 
- childrennodeDefaultnullSpecifies the content of the MenuItem
- aselementTypeDefault'button'Specifies the base element 
- iconBeforenodeSpecifies the jsx before the content of the MenuItem
- iconAfternodeSpecifies the jsx after the content of the MenuItem