<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/TabsPickerStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15TabsPickerStyleV"
  },
  "title" : "TabsPickerStyle"
}
-->

# TabsPickerStyle

A picker style that presents options as segmented tabs.

```
struct TabsPickerStyle
```

## Overview

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.

```swift
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(_:)`](/documentation/SwiftUI/View/pickerStyle(_:)) modifier.

You can also use [`tabs`](/documentation/SwiftUI/PickerStyle/tabs) to construct this style.

## Topics

### Creating the picker style

[`init()`](/documentation/SwiftUI/TabsPickerStyle/init())

Creates a tabs picker style.

## Relationships

### Conforms To

[`PickerStyle`](/documentation/SwiftUI/PickerStyle)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)