Menu

A control for presenting a menu of actions.

Menu - iOS Light Mode Preview

Platform Compatibility

iOS 14.0+ iPadOS 14.0+ macOS 11.0+ tvOS 17.0+ visionOS 1.0+

Tags

SwiftUI Code

Docs
Menu {
  Button("Button 1", action: action)
  Button("Button 2", systemImage: "button.vertical.left.press", action: action)
  Button(action: action) {
    Text("Button 3")
    Text("Description 3")
  }
} label: {
  Text("Buttons")
}

Found an issue or have a suggestion?

Created: May 30, 2025Updated: May 30, 2025