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

# segmented

A picker style that presents the options in a segmented control.

## Declaration

```swift
static var segmented: SegmentedPickerStyle { get }
```

## Discussion

Discussion Use this style when there are two to five options. Consider using menu when there are more than five options. For each option’s label, use sentence-style capitalization without ending punctuation, like a period or colon. 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)
- [menu](swiftui/pickerstyle/menu.md)
- [navigationLink](swiftui/pickerstyle/navigationlink.md)
- [palette](swiftui/pickerstyle/palette.md)
- [radioGroup](swiftui/pickerstyle/radiogroup.md)
- [tabs](swiftui/pickerstyle/tabs.md)
- [wheel](swiftui/pickerstyle/wheel.md)
