flatpickr(".flatpickr");
<body> <input class="flatpickr" type="text" placeholder="Select Date.."> </body>