---
title: "StepperFieldDatePickerStyle | Explore SwiftUI"
description: "A system style that displays the components in an editable field, with adjoining stepper that can increment/decrement the selected component"
canonical_url: "https://exploreswiftui.com/library/datepicker/stepperfielddatepickerstyle"
meta:
  author: "Explore SwiftUI"
  "og:description": "A system style that displays the components in an editable field, with adjoining stepper that can increment/decrement the selected component"
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_StepperFieldDatePickerStyle%2Cdescription_~QSBzeXN0ZW0gc3R5bGUgdGhhdCBkaXNwbGF5cyB0aGUgY29tcG9uZW50cyBpbiBhbiBlZGl0YWJsZSBmaWVsZCwgd2l0aCBhZGpvaW5pbmcgc3RlcHBlciB0aGF0IGNhbiBpbmNyZW1lbnQvZGVjcmVtZW50IHRoZSBzZWxlY3RlZCBjb21wb25lbnQ%2Ccategory_DatePicker%2Cimage_~L2FwaS9pbWFnZXMvNjQvdmFyaWFudHMvOTY~dj0xNzkwMDczNDc4ODQyJnI9MiZ3PTY0MCZoPTQ4MCZmPXBuZw%2CimageMode_fit%2CimagePosition_center%2CimageFrame_~ZmlsdGVyOiBkcm9wLXNoYWRvdygwIDAgMXB4IHJnYmEoMCwwLDAsMC4wNikpIGRyb3Atc2hhZG93KDAgLTEwcHggMjVweCByZ2JhKDM3LDk5LDIzNSwwLjE4KSk7%2Cprops_eyJwbGF0Zm9ybXMiOlsibWFjT1MiXX0%2Cp_Ii9saWJyYXJ5L2RhdGVwaWNrZXIvc3RlcHBlcmZpZWxkZGF0ZXBpY2tlcnN0eWxlIg%2Cs_4WSksnr83YrWj19g.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "StepperFieldDatePickerStyle | Explore SwiftUI"
  "twitter:description": "A system style that displays the components in an editable field, with adjoining stepper that can increment/decrement the selected component"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_StepperFieldDatePickerStyle%2Cdescription_~QSBzeXN0ZW0gc3R5bGUgdGhhdCBkaXNwbGF5cyB0aGUgY29tcG9uZW50cyBpbiBhbiBlZGl0YWJsZSBmaWVsZCwgd2l0aCBhZGpvaW5pbmcgc3RlcHBlciB0aGF0IGNhbiBpbmNyZW1lbnQvZGVjcmVtZW50IHRoZSBzZWxlY3RlZCBjb21wb25lbnQ%2Ccategory_DatePicker%2Cimage_~L2FwaS9pbWFnZXMvNjQvdmFyaWFudHMvOTY~dj0xNzkwMDczNDc4ODQyJnI9MiZ3PTY0MCZoPTQ4MCZmPXBuZw%2CimageMode_fit%2CimagePosition_center%2CimageFrame_~ZmlsdGVyOiBkcm9wLXNoYWRvdygwIDAgMXB4IHJnYmEoMCwwLDAsMC4wNikpIGRyb3Atc2hhZG93KDAgLTEwcHggMjVweCByZ2JhKDM3LDk5LDIzNSwwLjE4KSk7%2Cprops_eyJwbGF0Zm9ybXMiOlsibWFjT1MiXX0%2Cp_Ii9saWJyYXJ5L2RhdGVwaWNrZXIvc3RlcHBlcmZpZWxkZGF0ZXBpY2tlcnN0eWxlIg%2Cs_4WSksnr83YrWj19g.png"
  "twitter:title": "StepperFieldDatePickerStyle | Explore SwiftUI"
---

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

# **StepperFieldDatePickerStyle**

A system style that displays the components in an editable field, with adjoining stepper that can increment/decrement the selected component

![StepperFieldDatePickerStyle - Preview Not Available](https://exploreswiftui.com/api/images/64/variants/96?v=1790073478842&r=2&w=800&q=80&f=webp)

### **Platform Compatibility**

macOS 10.15+

### **Tags**

### **SwiftUI Code**

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

```
@State var date = Date()

var body: some View {
  DatePicker("Select Date", selection: $date)
    .datePickerStyle(.stepperField)
}
```

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

Created: June 4, 2025Updated: June 5, 2025

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

### **More DatePicker Components **

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

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

### **Future DatePicker**

Creates an instance that selects multiple dates on or after some start date

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

### **MultiDatePicker**

A control for picking multiple dates.

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

### **DatePicker Colors**

Customizing the colors of the date picker

![FieldDatePickerStyle - macOS - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/65/variants/324?v=1790073478842&r=2&w=412&q=75&f=webp)

### **FieldDatePickerStyle**

A date picker style that displays the components in an editable field

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

### **WheelDatePickerStyle**

A date picker style that displays each component as columns in a scrollable wheel

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

### **GraphicalDatePickerStyle**

A date picker style that displays an interactive calendar or clock

![Hour Minute Seconds DatePicker - watchOS - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/61/variants/181?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Hour Minute Seconds DatePicker**

A DatePicker for just hour, minute, and second.

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

### **Future DatePicker**

Creates an instance that selects a Date in a closed range

### **Explore Other Components **

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

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

### **Async URL Image**

Loads and displays an image from the specified URL load request.

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

### **Context Menu**

Adds a context menu to a view.

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

### **Content Unavailable Search**

A pre-built placeholder for empty search results

![Toolbar Item Visibility Priority - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/238/variants/733?v=1792389091475&r=2&w=412&q=75&f=webp)

### **Toolbar Item Visibility Priority**

Defines the visibility priority for a toolbar item.

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

### **Outline Group**

A structure that computes views and disclosure groups on demand from an underlying collection of tree-structured, identified data.

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

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

### **Min Max Current Value Gauge**

Creates a gauge showing a value within a range and describes the gauge’s current, minimum, and maximum values

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

### **ViewThatFits Vertical**

A view that adapts to the available vertical space by providing the first child view that fits.

```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/datepicker/stepperfielddatepickerstyle#webpage","@type":"WebPage","dateModified":"2025-06-05T06:27:17.234Z","datePublished":"2025-06-04T17:31:44.888Z","description":"A system style that displays the components in an editable field, with adjoining stepper that can increment/decrement the selected component","name":"StepperFieldDatePickerStyle","url":"https://exploreswiftui.com/library/datepicker/stepperfielddatepickerstyle","breadcrumb":{"@id":"https://exploreswiftui.com/library/datepicker/stepperfielddatepickerstyle#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/datepicker/stepperfielddatepickerstyle"]}],"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/datepicker/stepperfielddatepickerstyle#article","dateModified":"2025-06-05T06:27:17.234Z","datePublished":"2025-06-04T17:31:44.888Z","description":"A system style that displays the components in an editable field, with adjoining stepper that can increment/decrement the selected component","headline":"StepperFieldDatePickerStyle","inLanguage":"en-US","name":"StepperFieldDatePickerStyle","thumbnailUrl":"https://exploreswiftui.com/api/images/64/variants/96?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/datepicker/stepperfielddatepickerstyle","@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/datepicker/stepperfielddatepickerstyle#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/datepicker/stepperfielddatepickerstyle#/schema/software-source-code/1","@type":"SoftwareSourceCode","codeRepository":"https://developer.apple.com/documentation/swiftui/datepickerstyle/stepperfield","codeSampleType":"full example","description":"A system style that displays the components in an editable field, with adjoining stepper that can increment/decrement the selected component","name":"StepperFieldDatePickerStyle SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"@State var date = Date()\n\nvar body: some View {\n  DatePicker(\"Select Date\", selection: $date)\n    .datePickerStyle(.stepperField)\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"DatePicker"},{"@type":"Thing","name":"StepperFieldDatePickerStyle"}]},{"@id":"https://exploreswiftui.com/library/datepicker/stepperfielddatepickerstyle#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"DatePicker","item":"https://exploreswiftui.com/library/datepicker","position":2},{"@type":"ListItem","name":"StepperFieldDatePickerStyle","item":"https://exploreswiftui.com/library/datepicker/stepperfielddatepickerstyle","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/64/variants/96?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/64/variants/96?v=1790073478842&r=2"}]}
```