JSFiddle - React, Tailwind, and code Playground HTML <div id="draggable">Test</div> JavaScript $( "#draggable" ).draggable({ axis: "y" });