<!--
{
  "availability" : [
    "macOS: 11.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/BorderlessButtonMenuStyle/init(showsMenuIndicator:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI25BorderlessButtonMenuStyleV05showsE9IndicatorACSb_tcfc"
  },
  "title" : "init(showsMenuIndicator:)"
}
-->

# init(showsMenuIndicator:)

Creates a borderless button menu style, specifying whether to show a
visual menu indicator.

```
nonisolated init(showsMenuIndicator: Bool)
```

## Parameters

`showsMenuIndicator`

A Boolean that indicates whether the
button should include a visual indicator that it represents a menu,
such as an arrow.

---

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)