---
title: "init(selection:in:label:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/multidatepicker/init(selection:in:label:)"
---

# init(selection:in:label:)

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

## Declaration

```swift
nonisolated init(selection: Binding<Set<DateComponents>>, in bounds: PartialRangeFrom<Date>, @ContentBuilder label: () -> Label)
```

## Parameters

- `selection`: The date values being displayed and selected.
- `bounds`: The open range from some selectable start date.
- `label`: A view that describes the use of the dates.

## See Also

### Picking dates in a range

- [init(_:selection:in:)](swiftui/multidatepicker/init(_:selection:in:).md)
