<!--
{
  "availability" : [
    "iOS: 16.4.0 -",
    "iPadOS: 16.4.0 -",
    "macCatalyst: 16.4.0 -",
    "macOS: 13.3.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ControlGroupStyle/menu",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17ControlGroupStylePA2A04MenucdE0VRszrlE4menuAEvpZ"
  },
  "title" : "menu"
}
-->

# menu

A control group style that presents its content as a menu when the user
presses the control, or as a submenu when nested within a larger menu.

```
@export(implementation) nonisolated static var menu: MenuControlGroupStyle { get }
```

## Discussion

To apply this style to a control group, or to a view that contains
control groups, use the [`controlGroupStyle(_:)`](/documentation/SwiftUI/View/controlGroupStyle(_:)) modifier.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)