button
A menu style that displays a button that toggles the display of the menu’s contents when pressed.
Declaration
@MainActor @preconcurrency static var button: ButtonMenuStyle { get }Discussion
On macOS, the button displays an arrow to indicate that it presents a menu.
Pressing and then dragging into the contents activates the selected action on release.