<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ButtonMenuStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15ButtonMenuStyleV"
  },
  "title" : "ButtonMenuStyle"
}
-->

# ButtonMenuStyle

A menu style that displays a button that toggles the display of the
menu’s contents when pressed.

```
nonisolated struct ButtonMenuStyle
```

## Overview

Use [`button`](/documentation/SwiftUI/MenuStyle/button) to construct this style.

## Topics

### Creating the menu style

[`init()`](/documentation/SwiftUI/ButtonMenuStyle/init())

Creates a button menu style.

## Relationships

### Conforms To

[`MenuStyle`](/documentation/SwiftUI/MenuStyle)

---

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)