Contents

borderedButton

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

Declaration

@MainActor @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.

See Also

Getting built-in menu styles