---
title: "Custom Value Label Picker | Explore SwiftUI"
description: "Creates a picker that generates its label from a localized string key and accepts a custom current value label"
canonical_url: "https://exploreswiftui.com/library/picker/custom-value-label-picker"
meta:
  author: "Explore SwiftUI"
  "og:description": "Creates a picker that generates its label from a localized string key and accepts a custom current value label"
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Custom%2BValue%2BLabel%2BPicker%2Cdescription_Explore%2Bvisually%2Bwith%2Bcode%2Bexamples%2Ccategory_Picker%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3BpY2tlci9jdXN0b20tdmFsdWUtbGFiZWwtcGlja2VyIg%2Cs_x9S5CudDKTWVbJ6m.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Custom Value Label Picker | Explore SwiftUI"
  "twitter:description": "Creates a picker that generates its label from a localized string key and accepts a custom current value label"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Custom%2BValue%2BLabel%2BPicker%2Cdescription_Explore%2Bvisually%2Bwith%2Bcode%2Bexamples%2Ccategory_Picker%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3BpY2tlci9jdXN0b20tdmFsdWUtbGFiZWwtcGlja2VyIg%2Cs_x9S5CudDKTWVbJ6m.png"
  "twitter:title": "Custom Value Label 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=176) [ Apple Watch](https://exploreswiftui.com/watch?element=176)

# **Custom Value Label Picker**

Creates a picker that generates its label from a localized string key and accepts a custom current value label.

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

### **Platform Compatibility**

iOS 18.0+ iPadOS 18.0+ macOS 15.0+ watchOS 11.0+ tvOS 18.0+ visionOS 2.0+

### **Tags**

### **SwiftUI Code**

[ Docs](<https://developer.apple.com/documentation/swiftui/picker/init(_:selection:content:currentvaluelabel:)>)

```
@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)
            }
        } currentValueLabel: {
            Text("Current: \(selection)")
        }
    }
}
```

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

Created: April 4, 2026Updated: July 5, 2026

![Connect Wizard](https://exploreswiftui.com/_ipx/f_webp&q_80&s_48x48/images/connect-wizard-icon.png)

**Connect Wizard**

**Unlock insights App Store Connect doesn’t show you.**

[** Get Started **](https://apps.apple.com/app/apple-store/id6747314580?pt=121213751&ct=Explore%20SwiftUI%20Banner&mt=8)

```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/custom-value-label-picker#webpage","@type":"WebPage","dateModified":"2026-07-05T14:33:49.997Z","datePublished":"2026-04-04T11:37:34.224Z","description":"Creates a picker that generates its label from a localized string key and accepts a custom current value label","name":"Custom Value Label Picker","url":"https://exploreswiftui.com/library/picker/custom-value-label-picker","breadcrumb":{"@id":"https://exploreswiftui.com/library/picker/custom-value-label-picker#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/picker/custom-value-label-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/custom-value-label-picker#article","dateModified":"2026-07-05T14:33:49.997Z","datePublished":"2026-04-04T11:37:34.224Z","description":"Creates a picker that generates its label from a localized string key and accepts a custom current value label","headline":"Custom Value Label Picker","inLanguage":"en-US","name":"Custom Value Label Picker","thumbnailUrl":"https://exploreswiftui.com/api/images/176/variants/548?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/picker/custom-value-label-picker","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@type":"WebSite","name":"Explore SwiftUI","url":"https://exploreswiftui.com"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/picker/custom-value-label-picker#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/picker/custom-value-label-picker#/schema/software-source-code/1","@type":"SoftwareSourceCode","codeRepository":"https://developer.apple.com/documentation/swiftui/picker/init(_:selection:content:currentvaluelabel:)","codeSampleType":"full example","description":"Creates a picker that generates its label from a localized string key and accepts a custom current value label","name":"Custom Value Label 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        } currentValueLabel: {\n            Text(\"Current: \\(selection)\")\n        }\n    }\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"Picker"},{"@type":"Thing","name":"Custom Value Label Picker"}]},{"@id":"https://exploreswiftui.com/library/picker/custom-value-label-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":"Custom Value Label Picker","item":"https://exploreswiftui.com/library/picker/custom-value-label-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/176/variants/548?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/176/variants/548?v=1790073478842&r=2"}]}
```