Material 3 Expressive spec has a spec for ranged date pickers, although they can't be used on an input, so it's usually implemented as a modal on a button, with there being a fallback as 2 separate date picker fields.
My personal use case is having it as a more intuitive start/end date picker to show the range between, so it would be close to as above, but as part of the page rather than a separate modal.
API-wise, I think having 2 props (startDate, endDate) should be enough?
Material 3 Expressive spec has a spec for ranged date pickers, although they can't be used on an input, so it's usually implemented as a modal on a button, with there being a fallback as 2 separate date picker fields.
My personal use case is having it as a more intuitive start/end date picker to show the range between, so it would be close to as above, but as part of the page rather than a separate modal.
API-wise, I think having 2 props (startDate, endDate) should be enough?