---
title: "SegmentedPickerStyle | Explore SwiftUI"
description: "A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options"
canonical_url: "https://exploreswiftui.com/library/picker/segmentedpickerstyle"
meta:
  author: "Explore SwiftUI"
  "og:description": "A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options"
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_SegmentedPickerStyle%2Cdescription_A%2Bpicker%2Bstyle%2Bthat%2Bpresents%2Bthe%2Boptions%2Bin%2Ba%2Bsegmented%2Bcontrol.%2BUse%2Bthis%2Bstyle%2Bwhen%2Bthere%2Bare%2Btwo%2Bto%2Bfive%2Boptions.%2BConsider%2Busing%2Bmenu%2Bwhen%2Bthere%2Bare%2Bmore%2Bthan%2Bfive%2Boptions.%2Ccategory_Picker%2Cimage_~L2FwaS9pbWFnZXMvMTg1L3ZhcmlhbnRzLzU4Mz92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimageMode_crop%2CimagePosition_top%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm90dG9tOiAwOyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogNzRweDs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ0dk9TIiwidmlzaW9uT1MiXX0%2Cp_Ii9saWJyYXJ5L3BpY2tlci9zZWdtZW50ZWRwaWNrZXJzdHlsZSI%2Cs_u1w01pXyB90H-ix0.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "SegmentedPickerStyle | Explore SwiftUI"
  "twitter:description": "A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_SegmentedPickerStyle%2Cdescription_A%2Bpicker%2Bstyle%2Bthat%2Bpresents%2Bthe%2Boptions%2Bin%2Ba%2Bsegmented%2Bcontrol.%2BUse%2Bthis%2Bstyle%2Bwhen%2Bthere%2Bare%2Btwo%2Bto%2Bfive%2Boptions.%2BConsider%2Busing%2Bmenu%2Bwhen%2Bthere%2Bare%2Bmore%2Bthan%2Bfive%2Boptions.%2Ccategory_Picker%2Cimage_~L2FwaS9pbWFnZXMvMTg1L3ZhcmlhbnRzLzU4Mz92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimageMode_crop%2CimagePosition_top%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm90dG9tOiAwOyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogNzRweDs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ0dk9TIiwidmlzaW9uT1MiXX0%2Cp_Ii9saWJyYXJ5L3BpY2tlci9zZWdtZW50ZWRwaWNrZXJzdHlsZSI%2Cs_u1w01pXyB90H-ix0.png"
  "twitter:title": "SegmentedPickerStyle | Explore SwiftUI"
---

> Index of every page on this site: [llms.txt](https://exploreswiftui.com/llms.txt)

**Interactive previews**[ iPhone](https://exploreswiftui.com/iphone?element=185)

# **SegmentedPickerStyle**

A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options.

![SegmentedPickerStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/185/variants/583?v=1790073478842&r=2&w=800&q=80&f=webp)

### **Platform Compatibility**

iOS 13.0+ iPadOS 13.0+ macOS 10.15+ tvOS 13.0+ visionOS 1.0+

### **Tags**

### **SwiftUI Code**

[ Docs](https://developer.apple.com/documentation/swiftui/segmentedpickerstyle)

```
List {
    Picker(selection: $selection) {
        Text("1")
            .tag("1")
        Section("Bar") {
            Text("2")
                .tag("2")
        }
        Label("3", systemImage: "3.circle")
            .tag("3")
    } label: {
        Label("Foo", systemImage: "hand.tap")
        Text("Bar")
    } currentValueLabel: {
        Text("Selected: \(selection)")
    }
    .pickerStyle(.segmented)
}
```

### **Found an issue or have a suggestion?**

Created: April 5, 2026Updated: April 5, 2026

### **More Picker Components **

[**View all **](https://exploreswiftui.com/library/picker)

![TabsPickerStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/233/variants/182?v=1790073478842&r=2&w=412&q=75&f=webp)

### **TabsPickerStyle**

A picker style that presents options as segmented tabs. 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.

![Wheel Picker Item Height - watchOS - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/188/variants/587?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Wheel Picker Item Height**

Sets the default wheel-style picker item height.

![Horizontal Radio Group Layout - macOS - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/187/variants/588?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Horizontal Radio Group Layout**

Sets the style for radio group style pickers within this view to be horizontally positioned with the radio buttons inside the layout.

![WheelPickerStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/186/variants/604?v=1790073478842&r=2&w=412&q=75&f=webp)

### **WheelPickerStyle**

A picker style that presents the options in a scrollable wheel that shows the selected option and a few neighboring options.

![PalettePickerStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/184/variants/598?v=1790073478842&r=2&w=412&q=75&f=webp)

### **PalettePickerStyle**

A picker style that presents the options as a row of compact elements. When used outside of menus, this style is rendered as a segmented picker. If that is the intended usage, consider segmented instead.

![RadioGroupPickerStyle - macOS - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/183/variants/564?v=1790073478842&r=2&w=412&q=75&f=webp)

### **RadioGroupPickerStyle**

A picker style that presents the options as a group of radio buttons.

![NavigationLinkPickerStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/181/variants/560?v=1790073478842&r=2&w=412&q=75&f=webp)

### **NavigationLinkPickerStyle**

A picker style represented by a navigation link that presents the options by pushing a List-style picker view.

![MenuPickerStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/180/variants/592?v=1790073478842&r=2&w=412&q=75&f=webp)

### **MenuPickerStyle**

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.

### **Explore Other Components **

[**Browse all **](https://exploreswiftui.com/)

![Collapse Sidebar Sections by Default - iPadOS - Landscape - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/259/variants/2039?v=1792566366133&r=2&w=412&q=75&f=webp)

### **Collapse Sidebar Sections by Default**

Collapses the section in the sidebar by default.

![Context Menu Preview - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/25/variants/159?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Context Menu Preview**

A context menu with custom preview

![Button Sizing - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/190/variants/3?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Button Sizing**

The preferred sizing behavior of buttons in the view hierarchy.

![Content Unavailable Search Text - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/3/variants/10?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Content Unavailable Search Text**

A pre-built placeholder for empty search results with search text

![SwitchToggleStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/211/variants/640?v=1790073478842&r=2&w=412&q=75&f=webp)

### **SwitchToggleStyle**

A toggle style that displays a leading label and a trailing switch.

![LinearCapacityGaugeStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/43/variants/267?v=1790073478842&r=2&w=412&q=75&f=webp)

### **LinearCapacityGaugeStyle**

A gauge style that displays a bar that fills from leading to trailing edges as the gauge’s current value increases

![PasteButton - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/35/variants/235?v=1790073478842&r=2&w=412&q=75&f=webp)

### **PasteButton**

A system button that reads items from the pasteboard and delivers it to a closure.

![Gauge Colors - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/48/variants/261?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Gauge Colors**

Customizing the colors of different styles with minimal effort

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://exploreswiftui.com/#website","@type":"WebSite","description":"A visual library for SwiftUI APIs, components, and modifiers","inLanguage":"en-US","name":"Explore SwiftUI","url":"https://exploreswiftui.com/","publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/picker/segmentedpickerstyle#webpage","@type":"WebPage","dateModified":"2026-04-05T08:26:40.219Z","datePublished":"2026-04-05T06:49:06.115Z","description":"A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options","name":"SegmentedPickerStyle","url":"https://exploreswiftui.com/library/picker/segmentedpickerstyle","breadcrumb":{"@id":"https://exploreswiftui.com/library/picker/segmentedpickerstyle#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"mainEntity":{"@id":"https://exploreswiftui.com/library/picker/segmentedpickerstyle#article"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/picker/segmentedpickerstyle"]}],"primaryImageOfPage":{"@id":"https://exploreswiftui.com/#logo"}},{"@id":"https://exploreswiftui.com/#identity","@type":"Organization","description":"A visual library for SwiftUI APIs, components, and modifiers","name":"Explore SwiftUI","url":"https://exploreswiftui.com","logo":{"@id":"https://exploreswiftui.com/#logo"},"sameAs":["https://x.com/Typ0genius","https://mastodon.social/@Typ0genius"]},{"@id":"https://exploreswiftui.com/library/picker/segmentedpickerstyle#article","citation":"https://developer.apple.com/documentation/swiftui/segmentedpickerstyle","dateModified":"2026-04-05T08:26:40.219Z","datePublished":"2026-04-05T06:49:06.115Z","description":"A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options","headline":"SegmentedPickerStyle","inLanguage":"en-US","name":"SegmentedPickerStyle","thumbnailUrl":"https://exploreswiftui.com/api/images/185/variants/583?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/picker/segmentedpickerstyle","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"hasPart":{"@id":"https://exploreswiftui.com/library/picker/segmentedpickerstyle#source-code"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@id":"https://exploreswiftui.com/library/picker/segmentedpickerstyle#webpage"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/picker/segmentedpickerstyle#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/picker/segmentedpickerstyle#source-code","@type":"SoftwareSourceCode","codeSampleType":"full example","description":"A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options","name":"SegmentedPickerStyle SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"List {\n    Picker(selection: $selection) {\n        Text(\"1\")\n            .tag(\"1\")\n        Section(\"Bar\") {\n            Text(\"2\")\n                .tag(\"2\")\n        }\n        Label(\"3\", systemImage: \"3.circle\")\n            .tag(\"3\")\n    } label: {\n        Label(\"Foo\", systemImage: \"hand.tap\")\n        Text(\"Bar\")\n    } currentValueLabel: {\n        Text(\"Selected: \\(selection)\")\n    }\n    .pickerStyle(.segmented)\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"Picker"},{"@type":"Thing","name":"SegmentedPickerStyle"}]},{"@id":"https://exploreswiftui.com/library/picker/segmentedpickerstyle#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"Picker","item":"https://exploreswiftui.com/library/picker","position":2},{"@type":"ListItem","name":"SegmentedPickerStyle","item":"https://exploreswiftui.com/library/picker/segmentedpickerstyle","position":3}]},{"@id":"https://exploreswiftui.com/#logo","@type":"ImageObject","caption":"Explore SwiftUI","contentUrl":"https://exploreswiftui.com/apple-touch-icon.png","inLanguage":"en","url":"https://exploreswiftui.com/apple-touch-icon.png"},{"@id":"https://exploreswiftui.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://exploreswiftui.com/api/images/185/variants/583?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/185/variants/583?v=1790073478842&r=2"}]}
```