---
title: menu
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/pickerstyle/menu
---

# menu

A picker style that presents the options as a menu when the user presses a button, or as a submenu when nested within a larger menu.

## Declaration

```swift
static var menu: MenuPickerStyle { get }
```

## Mentioned in

Populating SwiftUI menus with adaptive controls

## Discussion

Discussion Use this style when there are more than five options. Consider using inline when there are fewer than five options. The button itself indicates the selected option. You can include additional controls in the set of options, such as a button to customize the list of options. To apply this style to a picker, or to a view that contains pickers, use the pickerStyle(_:) modifier.

## See Also

### Getting built-in picker styles

- [automatic](swiftui/pickerstyle/automatic.md)
- [inline](swiftui/pickerstyle/inline.md)
- [navigationLink](swiftui/pickerstyle/navigationlink.md)
- [palette](swiftui/pickerstyle/palette.md)
- [radioGroup](swiftui/pickerstyle/radiogroup.md)
- [segmented](swiftui/pickerstyle/segmented.md)
- [tabs](swiftui/pickerstyle/tabs.md)
- [wheel](swiftui/pickerstyle/wheel.md)
