take date from user and check in calender code example
Example: what should i look for datepicker component selection
A UI Component should provide a good user experience, solid keyboard controls, strong mobile functionality, and the ability to work with gestures. Ask yourself if the component you've picked can do all of these things or at least the ones necessitated by your application