MenuGroup

Menu groups gather related choices under an optional label.

Props

React props
NameTypeRequiredDefaultDescription
classNamestring | Partial<Record<"menuGroup" | "groupLabel", string>> | ClassNameComponent<MenuGroupInterface>No—Root classes (string), static element classes (object), or state-aware element classes (function).
variantMenuVariantNo—Overrides the color treatment inherited from the parent Menu.
labelstringNo—Visible and accessible label for the group.
childrenReactNodeNo—Related MenuItem and MenuHeadline content.