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

# tabs

A picker style that presents options as segmented tabs.

## Declaration

```swift
static var tabs: TabsPickerStyle { get }
```

## Discussion

Discussion On macOS, this style produces a segmented picker with a visual treatment that distinguishes tab navigation from value selection. On iOS, tvOS, and visionOS, the visual appearance matches that of the standard standard .segmented style. On all supported platforms, VoiceOver announces options as tabs. Picker("View", selection: $view) {     Text("Events").tag(Views.events)     Text("Reminders").tag(Views.reminders) } .pickerStyle(.tabs) 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)
- [segmented](swiftui/pickerstyle/segmented.md)
- [wheel](swiftui/pickerstyle/wheel.md)
