---
title: "GraphicalDatePickerStyle | Explore SwiftUI"
description: "A date picker style that displays an interactive calendar or clock. Learn how to use GraphicalDatePickerStyle in SwiftUI with visual code examples."
canonical_url: "https://exploreswiftui.com/library/datepicker/graphicaldatepickerstyle"
meta:
  author: "Explore SwiftUI"
  "og:description": "A date picker style that displays an interactive calendar or clock. Learn how to use GraphicalDatePickerStyle in SwiftUI with visual code examples."
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_GraphicalDatePickerStyle%2Cdescription_A%2Bdate%2Bpicker%2Bstyle%2Bthat%2Bdisplays%2Ban%2Binteractive%2Bcalendar%2Bor%2Bclock%2Ccategory_DatePicker%2Cimage_~L2FwaS9pbWFnZXMvNjIvdmFyaWFudHMvNDIwP3Y9MTc5MDA3MzQ3ODg0MiZyPTImdz0xMjgwJnE9ODUmZj1qcGVn%2CimageMode_crop%2CimagePosition_center%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgdG9wOiA3NXB4OyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHJnYmEoMCwwLDAsMC4wNik7IGJvcmRlci10b3AtbGVmdC1yYWRpdXM6IDMycHg7IGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDMycHg7%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ2aXNpb25PUyJdfQ%2Cp_Ii9saWJyYXJ5L2RhdGVwaWNrZXIvZ3JhcGhpY2FsZGF0ZXBpY2tlcnN0eWxlIg%2Cs_bZ6HE5tatkIChApF.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "GraphicalDatePickerStyle | Explore SwiftUI"
  "twitter:description": "A date picker style that displays an interactive calendar or clock. Learn how to use GraphicalDatePickerStyle in SwiftUI with visual code examples."
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_GraphicalDatePickerStyle%2Cdescription_A%2Bdate%2Bpicker%2Bstyle%2Bthat%2Bdisplays%2Ban%2Binteractive%2Bcalendar%2Bor%2Bclock%2Ccategory_DatePicker%2Cimage_~L2FwaS9pbWFnZXMvNjIvdmFyaWFudHMvNDIwP3Y9MTc5MDA3MzQ3ODg0MiZyPTImdz0xMjgwJnE9ODUmZj1qcGVn%2CimageMode_crop%2CimagePosition_center%2CimageFrame_~cG9zaXRpb246IGFic29sdXRlOyByaWdodDogMDsgd2lkdGg6IDY0MHB4OyBoZWlnaHQ6IDQ4MHB4OyBkaXNwbGF5OiBmbGV4OyBvdmVyZmxvdzogaGlkZGVuOyBiYWNrZ3JvdW5kOiAjRkZGRkZGOyBib3gtc2hhZG93OiAwIC0xMHB4IDUwcHggcmdiYSgzNyw5OSwyMzUsMC4xOCk7IGJvcmRlci1sZWZ0OiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgdG9wOiA3NXB4OyBib3JkZXItdG9wOiAxcHggc29saWQgcmdiYSgwLDAsMCwwLjA2KTsgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHJnYmEoMCwwLDAsMC4wNik7IGJvcmRlci10b3AtbGVmdC1yYWRpdXM6IDMycHg7IGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDMycHg7%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ2aXNpb25PUyJdfQ%2Cp_Ii9saWJyYXJ5L2RhdGVwaWNrZXIvZ3JhcGhpY2FsZGF0ZXBpY2tlcnN0eWxlIg%2Cs_bZ6HE5tatkIChApF.png"
  "twitter:title": "GraphicalDatePickerStyle | Explore SwiftUI"
---

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

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

# **GraphicalDatePickerStyle**

A date picker style that displays an interactive calendar or clock

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

### **Platform Compatibility**

iOS 14.0+ iPadOS 14.0+ macOS 10.15+ visionOS 1.0+

### **Tags**

### **SwiftUI Code**

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

```
@State var date = Date()

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

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

Created: June 4, 2025Updated: December 27, 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

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

### **StepperFieldDatePickerStyle**

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

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

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

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

### **LinearProgressViewStyle**

A progress view that visually indicates its progress using a horizontal bar

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

### **Divider Height**

Customizing the height of the Divider

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

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

### **Custom Session Async URL Image**

A modifier that adds a URL session for asynchronous images contained in the view to use when fetching image data.

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

### **Slider**

Creates a slider to select a value from a given range

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

### **SidebarAdaptableTabViewStyle**

A tab bar style that adapts to each platform.

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

### **Divider**

A visual element that can be used to separate other content

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

### **Swipe Container**

Only allows a single active swipe within a container.

```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/graphicaldatepickerstyle#webpage","@type":"WebPage","dateModified":"2025-12-27T17:29:46.630Z","datePublished":"2025-06-04T17:19:12.656Z","description":"A date picker style that displays an interactive calendar or clock. Learn how to use GraphicalDatePickerStyle in SwiftUI with visual code examples.","name":"GraphicalDatePickerStyle","url":"https://exploreswiftui.com/library/datepicker/graphicaldatepickerstyle","breadcrumb":{"@id":"https://exploreswiftui.com/library/datepicker/graphicaldatepickerstyle#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/datepicker/graphicaldatepickerstyle"]}],"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/graphicaldatepickerstyle#article","dateModified":"2025-12-27T17:29:46.630Z","datePublished":"2025-06-04T17:19:12.656Z","description":"A date picker style that displays an interactive calendar or clock. Learn how to use GraphicalDatePickerStyle in SwiftUI with visual code examples.","headline":"GraphicalDatePickerStyle","inLanguage":"en-US","name":"GraphicalDatePickerStyle","thumbnailUrl":"https://exploreswiftui.com/api/images/62/variants/420?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/datepicker/graphicaldatepickerstyle","@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/graphicaldatepickerstyle#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/datepicker/graphicaldatepickerstyle#/schema/software-source-code/1","@type":"SoftwareSourceCode","codeRepository":"https://developer.apple.com/documentation/swiftui/datepickerstyle/graphical","codeSampleType":"full example","description":"A date picker style that displays an interactive calendar or clock. Learn how to use GraphicalDatePickerStyle in SwiftUI with visual code examples.","name":"GraphicalDatePickerStyle SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"@State var date = Date()\n\nvar body: some View {\n    DatePicker(\"Select Date\", selection: $date, displayedComponents: .date)\n        .datePickerStyle(.graphical)\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"DatePicker"},{"@type":"Thing","name":"GraphicalDatePickerStyle"}]},{"@id":"https://exploreswiftui.com/library/datepicker/graphicaldatepickerstyle#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":"GraphicalDatePickerStyle","item":"https://exploreswiftui.com/library/datepicker/graphicaldatepickerstyle","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/62/variants/420?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/62/variants/420?v=1790073478842&r=2"}]}
```