---
title: borderedButton
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/menustyle/borderedbutton
---

# borderedButton

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

## Declaration

```swift
@MainActor @preconcurrency static var borderedButton: BorderedButtonMenuStyle { get }
```

## Discussion

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.

## See Also

### Getting built-in menu styles

- [automatic](swiftui/menustyle/automatic.md)
- [button](swiftui/menustyle/button.md)
- [borderlessButton](swiftui/menustyle/borderlessbutton.md)
