You can do the same using shorthands.
Menu item text can be defined with the content prop.
The name prop will be used for content if neither children nor content props are defined.
A menu can adjust its appearance to de-emphasize its contents.
A menu can point to show its relationship to nearby content.
A menu can be formatted to show tabs of information.
A menu can be formatted for text content.
A vertical menu displays elements vertically.
A pagination menu is specially formatted to present links to pages of content.
A menu item may include a header or may itself be a header.
A vertical menu item can include any type of text content.
A menu item can contain an input inside of it.
An item may contain a nested menu in a dropdown.
A menu item can be hovered.
A menu item can be active.
A menu item can be disabled.
A menu can be fixed to a side of its context.
A menu can stack at mobile resolutions.
A menu may have its colors inverted to show greater contrast.
Additional colors can be specified.
These colors can also be inverted.
A menu may have just icons.
A menu may have labeled icons.
A vertical menu may take the size of its container.
A menu can take up only the space necessary to fit its content.
A menu may divide its items evenly.
A menu may be attached to other content segments.
A menu can vary in size.
A vertical menu can also vary in size.
A menu item or menu can remove element padding, vertically or horizontally.
A menu item or menu can have no borders.