<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DatePickerStyleConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI28DatePickerStyleConfigurationV"
  },
  "title" : "DatePickerStyleConfiguration"
}
-->

# DatePickerStyleConfiguration

The properties of a `DatePicker`.

```
struct DatePickerStyleConfiguration
```

## Topics

### Establishing the date range

[`var minimumDate: Date?`](/documentation/SwiftUI/DatePickerStyleConfiguration/minimumDate)

The oldest selectable date.

[`var maximumDate: Date?`](/documentation/SwiftUI/DatePickerStyleConfiguration/maximumDate)

The most recent selectable date.

### Labeling the date picker

[`let label: DatePickerStyleConfiguration.Label`](/documentation/SwiftUI/DatePickerStyleConfiguration/label-swift.property)

A description of the `DatePicker`.

[`struct Label`](/documentation/SwiftUI/DatePickerStyleConfiguration/Label-swift.struct)

A type-erased label of a `DatePicker`.

[`var displayedComponents: DatePickerComponents`](/documentation/SwiftUI/DatePickerStyleConfiguration/displayedComponents)

The date components that the user is able to view and edit.

### Selecting the date

[`var selection: Date`](/documentation/SwiftUI/DatePickerStyleConfiguration/selection)

The date value being displayed and selected.

[`var $selection: Binding<Date>`](/documentation/SwiftUI/DatePickerStyleConfiguration/$selection)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)