'Best date picker (calendar) for ReactJS application

I have a ReactJS application with a large form. It has many input fields requiring filling dates from a calendar. Now, I need to choose a date picker/ calendar library which supports following date formats:

1. only year (e.g. 2012)
2. only month and year (e.g. March 2012)
3. date picker (e.g.2012/03/15)
4. date range picker (e.g. 2012/03/15 - 2013/03/15)
5. date range picker for month and year (e.g. March 2012 - March 2013)
6. frequencies (e.g. daily, weekly, monthly)

Can anyone suggest me which package/library is the best date picker considering the above criteria ? you can suggest 5 libraries.



Solution 1:[1]

I prefer React DatePicker

npm i react-datepicker

enter image description here

Solution 2:[2]

You can try MUI date/time picker I have used it before and it's easy to use , you can have a look at their demo here https://codesandbox.io/s/c4u1jf?file=/demo.js

docs : https://mui.com/components/pickers/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 GMKHussain
Solution 2 Wael Ben Mustapha