---
title: "Picker | Explore SwiftUI"
description: "Creates a pickers with title, image, systemImage, and custom label. Learn how to use Picker in SwiftUI with visual code examples."
canonical_url: "https://exploreswiftui.com/library/picker/picker"
meta:
  author: "Explore SwiftUI"
  "og:description": "Creates a pickers with title, image, systemImage, and custom label. Learn how to use Picker in SwiftUI with visual code examples."
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Picker%2Cdescription_~Q3JlYXRlcyBhIHBpY2tlcnMgd2l0aCB0aXRsZSwgaW1hZ2UsIHN5c3RlbUltYWdlLCBhbmQgY3VzdG9tIGxhYmVsLg%2Ccategory_Picker%2Cimage_~L2FwaS9pbWFnZXMvMTc0L3ZhcmlhbnRzLzYwOT92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimageMode_crop%2CimagePosition_top%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm90dG9tOiAwOyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogNzRweDs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3BpY2tlci9waWNrZXIi%2Cs_J8B4J2X3XuX2qbhP.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Picker | Explore SwiftUI"
  "twitter:description": "Creates a pickers with title, image, systemImage, and custom label. Learn how to use Picker in SwiftUI with visual code examples."
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Picker%2Cdescription_~Q3JlYXRlcyBhIHBpY2tlcnMgd2l0aCB0aXRsZSwgaW1hZ2UsIHN5c3RlbUltYWdlLCBhbmQgY3VzdG9tIGxhYmVsLg%2Ccategory_Picker%2Cimage_~L2FwaS9pbWFnZXMvMTc0L3ZhcmlhbnRzLzYwOT92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimageMode_crop%2CimagePosition_top%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm90dG9tOiAwOyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogNzRweDs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3BpY2tlci9waWNrZXIi%2Cs_J8B4J2X3XuX2qbhP.png"
  "twitter:title": "Picker | Explore SwiftUI"
---

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

**Interactive previews**[ iPhone](https://exploreswiftui.com/iphone?element=174) [ Apple Watch](https://exploreswiftui.com/watch?element=174)

# **Picker**

Creates a pickers with title, image, systemImage, and custom label.

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

### **Platform Compatibility**

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

### **Tags**

### **SwiftUI Code**

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

```
@State var selection = "1"
let pickerOptions = ["1", "2", "3"]

var body: some View {
    List {
        Picker("Foo", selection: $selection) {
            ForEach(pickerOptions, id: \.self) { option in
                Text(option)
            }
        }
        Picker("Bar", systemImage: "hand.tap", selection: $selection) {
            ForEach(pickerOptions, id: \.self) { option in
                Text(option)
            }
        }
        Picker("Bar", image: .cats24X24, selection: $selection) {
            ForEach(pickerOptions, id: \.self) { option in
                Text(option)
            }
        }
        Picker(selection: $selection) {
            ForEach(pickerOptions, id: \.self) { option in
                Text(option)
            }
        } label: {
            Label("Foo", systemImage: "star")
            Text("Bar")
        }
    }
}
```

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

Created: April 4, 2026Updated: July 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.

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

### **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.

![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.

### **Explore Other Components **

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

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

### **Icon Phase Store View**

Creates a view to load a collection of products from the App Store using product identifiers, and merchandise them using their promotional images and a custom placeholder icon.

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

### **ProgressView Colors**

Customizing the colors of the ProgressView

![Hidden List Row Separator - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/120/variants/343?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Hidden List Row Separator**

Sets the display mode to hidden for the separator associated with this specific row.

![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.

![UIKit Label Colors - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/10/variants/45?v=1790073478842&r=2&w=412&q=75&f=webp)

### **UIKit Label Colors**

![InsetGroupedListStyle - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/105/variants/305?v=1790073478842&r=2&w=412&q=75&f=webp)

### **InsetGroupedListStyle**

The list style that describes the behavior and appearance of an inset grouped list.

![List Row Separator Tint - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/117/variants/291?v=1790073478842&r=2&w=412&q=75&f=webp)

### **List Row Separator Tint**

Sets the tint color associated with a row.

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

### **RenameButton**

A button that triggers a standard rename action

```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/picker#webpage","@type":"WebPage","dateModified":"2026-07-05T14:45:09.647Z","datePublished":"2026-04-04T09:52:47.615Z","description":"Creates a pickers with title, image, systemImage, and custom label. Learn how to use Picker in SwiftUI with visual code examples.","name":"Picker","url":"https://exploreswiftui.com/library/picker/picker","breadcrumb":{"@id":"https://exploreswiftui.com/library/picker/picker#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"mainEntity":{"@id":"https://exploreswiftui.com/library/picker/picker#article"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/picker/picker"]}],"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/picker#article","citation":"https://developer.apple.com/documentation/swiftui/picker","dateModified":"2026-07-05T14:45:09.647Z","datePublished":"2026-04-04T09:52:47.615Z","description":"Creates a pickers with title, image, systemImage, and custom label. Learn how to use Picker in SwiftUI with visual code examples.","headline":"Picker","inLanguage":"en-US","name":"Picker","thumbnailUrl":"https://exploreswiftui.com/api/images/174/variants/609?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/picker/picker","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"hasPart":{"@id":"https://exploreswiftui.com/library/picker/picker#source-code"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@id":"https://exploreswiftui.com/library/picker/picker#webpage"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/picker/picker#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/picker/picker#source-code","@type":"SoftwareSourceCode","codeSampleType":"full example","description":"Creates a pickers with title, image, systemImage, and custom label. Learn how to use Picker in SwiftUI with visual code examples.","name":"Picker SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"@State var selection = \"1\"\nlet pickerOptions = [\"1\", \"2\", \"3\"]\n\nvar body: some View {\n    List {\n        Picker(\"Foo\", selection: $selection) {\n            ForEach(pickerOptions, id: \\.self) { option in\n                Text(option)\n            }\n        }\n        Picker(\"Bar\", systemImage: \"hand.tap\", selection: $selection) {\n            ForEach(pickerOptions, id: \\.self) { option in\n                Text(option)\n            }\n        }\n        Picker(\"Bar\", image: .cats24X24, selection: $selection) {\n            ForEach(pickerOptions, id: \\.self) { option in\n                Text(option)\n            }\n        }\n        Picker(selection: $selection) {\n            ForEach(pickerOptions, id: \\.self) { option in\n                Text(option)\n            }\n        } label: {\n            Label(\"Foo\", systemImage: \"star\")\n            Text(\"Bar\")\n        }\n    }\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"Picker"},{"@type":"Thing","name":"Picker"}]},{"@id":"https://exploreswiftui.com/library/picker/picker#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":"Picker","item":"https://exploreswiftui.com/library/picker/picker","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/174/variants/609?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/174/variants/609?v=1790073478842&r=2"}]}
```