JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css">
<div id="sample"></div>
CSS
#sample {
position: relative;
width: 300px;
height: 20px;
line-height: 20px;
border-radius: 2em;
background: #CCC
}
#sample .ui-slider-handle {
cursor: move;
top: 0;
width: 47px;
height: 20px;
margin-left: -23px;
border: 0;
background: #333
}
JavaScript
$(function() {
$('#sample').slider();
});