Menu

Beta notice: This page is being built.Edit on GitHub(opens in new tab)

Menu combines section navigation with the selected section’s content using Astryx SideNav. At View viewport widths of 768px and below, navigation moves above content rather than competing for its width. Resizing keeps the active content mounted; changing sections mounts only the selected section.

This is a LongLink-specific component.

longlink docs component "Menu"

Example

Profile settings

Properties

Menu - Properties
childrenReactNode
MenuSection elements defining navigation and content.
gap0 | 0.5 | 1 | 1.5 | 2 | 3 | 4 | 5 | 6 | 8 | 10
MenuSection - Properties
childrenReactNode
MenuItem elements or nested MenuSubSection groups.
isHeaderHiddenboolean
Hides the section heading; visible by default.
titlestring
Section heading displayed in the navigation.
MenuItem - Properties
childrenReactNode
Content mounted beside the navigation while this item is selected.
iconStoneIconName
Optional LongLink icon name displayed beside the label.
labelstring
Navigation label; its lowercase, hyphenated form identifies the item's URL fragment.
MenuSubSection - Properties
childrenReactNode
MenuItem elements nested inside this collapsible group.
iconStoneIconName
Optional LongLink icon name displayed beside the group label.
labelstring
Label displayed on the collapsible navigation group.