<!--
{
  "availability" : [
    "iOS: 14.0.0 - 27.3.0",
    "iPadOS: 14.0.0 - 27.3.0",
    "macCatalyst: 14.0.0 - 27.3.0",
    "macOS: 11.0.0 - 27.3.0",
    "tvOS: 17.0.0 - 27.3.0",
    "visionOS: 1.0.0 - 27.3.0"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/MenuStyle/borderlessButton",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI9MenuStylePA2A016BorderlessButtoncD0VRszrlE010borderlessF0AEvpZ"
  },
  "title" : "borderlessButton"
}
-->

# borderlessButton

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

```
@export(implementation) nonisolated static var borderlessButton: BorderlessButtonMenuStyle { get }
```

## Discussion

On macOS, the button optionally displays an arrow indicating that it
presents a menu.

Pressing and then dragging into the contents triggers the chosen action on
release.

---

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)