JSFiddle - React, Tailwind, and code Playground
HTML
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
<div id="drop"></div>
CSS
#drop{
width: 100px;
height: 100px;
background: red;
}
JavaScript
$("li").draggable(
{helper: "clone"}
);
$("#drop").droppable({
accept: "li",
drop: function(event,ui){
console.log(ui.helper);
$(this).append($(ui.helper).html());
}
});