timepicker component react code example Example 1: react datepicker npm install react-datepicker --save Example 2: react time picker npm i react-time-picker