---
title: borderlessButton
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/menustyle/borderlessbutton
---

# borderlessButton

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

## Declaration

```swift
nonisolated static var borderlessButton: BorderlessButtonMenuStyle { get }
```

## Discussion

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.

## See Also

### Getting built-in menu styles

- [automatic](swiftui/menustyle/automatic.md)
- [button](swiftui/menustyle/button.md)
- [borderedButton](swiftui/menustyle/borderedbutton.md)
