DateRangePicker(react-aria-components): How to show several months? #4568
-
|
Hello, I am trying react aria components and I am curious if it is possible to have several months like spectrum?
I have something similar by using P.S. I know that it is is alpha and it is not supposed to support everything that spectrum can, just wanted to try aria components |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
|
I want to know this as well! Maybe some render props? 👀 |
Beta Was this translation helpful? Give feedback.
-
|
Is there any way to have the headers seperately? Showing a header like 'september–november 2024' means the user has to figure out which calendargrid belongs to which month. I find this pretty unintuitive. |
Beta Was this translation helpful? Give feedback.
-
|
I ended up using the render-props value of <RangeCalendar>
{({ state }) => <div>...</div>}
</RangeCalendar>and used |
Beta Was this translation helpful? Give feedback.

https://react-spectrum.adobe.com/react-aria/RangeCalendar.html#multi-month