JSFiddle - React, Tailwind, and code Playground

HTML

<div id="slider">
    <div class='helper'>  <a class='ui-slider-handle' rel='123'></a></div>
</div>

CSS

#slider {
    border: 1px solid;
    width: 300px;
    height: 10px
}
.ui-slider-handle {
    position: absolute;
    display: block;
    height: 12px;
    width: 100px;
    margin-left:-50px;
    background: green;
    border: #green 1px solid;
}
.helper {
    position:relative;
    width: 200px;
    margin: 0 auto;
}

JavaScript

$('#slider').slider()