Flatpickr

flatpickr is a lightweight and powerful datetime picker. Use the required class varient (e.g. range_flatpicker, date_flatpicker, wrap_flatpicker active ) for different flatpickr. For more details

Installation
npm i react-flatpickr
Script
import Flatpickr from "react-flatpickr";
import "flatpickr/dist/flatpickr.css";';

const Flatpicker = () => {
    return (
        <div>
            <Flatpickr  className="form-control flatpickrdate" placeholder="Select Date... " />
        </div>
    )
}