Date picker should allow users to select a date quickly and intuitively. This component consists of an input…