MenuGroup

MenuGroup renders a group of menu items with persistent styling. It is primarily used to apply grouping logic or context to its children.

Props

React props
NameTypeRequiredDefaultDescription
classNamestring | ClassNameComponent<MenuGroupInterface>NoClasses or state-aware element classes applied through the shared style contract.
variantMenuVariantNoOverrides the color treatment inherited from the parent Menu.
labelstringNoVisible and accessible label for the group.
childrenReactNodeNoRelated MenuItem and MenuHeadline content.