@State private var date = Date() DatePicker("Select a date", selection: $date, in: ...Date(), displayedComponents: .date) .labelsHidden() .accentColor(.orange)