<!--
{
  "availability" : [
    "macOS: 11.0.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/MenuStyle/borderedButton",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI9MenuStylePA2A014BorderedButtoncD0VRszrlE08borderedF0AEvpZ"
  },
  "title" : "borderedButton"
}
-->

# borderedButton

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

```
@MainActor @export(implementation) @preconcurrency static var borderedButton: BorderedButtonMenuStyle { get }
```

## Discussion

On macOS, the button 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)