DatePicker Colors

Customizing the colors of the date picker

DatePicker Colors - iOS Light Mode Preview

Platform Compatibility

iOS 13.0+ iPadOS 13.0+ macOS 10.15+ watchOS 10.10+ visionOS 1.0+

Tags

SwiftUI Code

Docs
@State var date = Date()

var body: some View {
  DatePicker("Select Date", selection: $date)
    .tint(.red)
}

Found an issue or have a suggestion?

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