JSFiddle - React, Tailwind, and code Playground

HTML

<div class="calendar">
    <input class="js-datepicker datepicker"></input>
    <div class="js-timeperiod timeperiod"></div>
</div>

CSS

.datepicker {
	display: none;
	width: 100%;
}

.calendar {
	display: inline-block;
	background-image: -moz-linear-gradient(top, #E22E25, #AC170F);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#E22E25), to(#AC170F));
	background-image: -webkit-linear-gradient(top, #E22E25, #AC170F);
	background-image: -ms-linear-gradient(top, #E22E25, #AC170F);
	background-image: -o-linear-gradient(top, #E22E25, #AC170F);
	background-image: linear-gradient(to bottom, #E22E25, #AC170F);
	filter:progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#E22E25', EndColorStr='#AC170F');/* for IE*/
	border: 1px solid #B1241C;
	color: white;
	cursor: pointer;
	float: center;
	height: 28px;
	width: 200px;
}

.ui-datepicker-trigger {
	position: relative;
	z-index: 2;
	height: 28px;
	background-color: transparent;
	padding: 0px;
	border: 0;
	outline: 0;
	cursor: pointer;
	width: 200px;
	text-align: left;
	top: 0;
	left: 0;
}

.timeperiod {
	position: relative;
	top: -30px;
	left: 32px;
	z-index: 1;
	font-family: Arial,Helvetica,sans-serif;
	font-weight: 700;
	padding: 2px;
	font-size: 103%;
	text-align: center;
	height: 28px;
	width: 150px;
	float: center;
}

JavaScript

$('.js-datepicker').datepicker( {
		showWeek: true,
		firstDay: 1,
		showOtherMonths: true,
		selectOtherMonths: true,
		dateFormat: "dd.mm.yy",
		showOn: "button",
		buttonImage: '/img/transparent_btn_schedule.png',
		buttonImageOnly: false,
		onSelect: function (dateStr, inst) {
			$('.js-timeperiod').html(dateStr);
		}
	});