JSFiddle - React, Tailwind, and code Playground

HTML

<!doctype html>
 
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>jQuery UI Draggable - Handles</title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.8.2.js"></script>
    <script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
    <link rel="stylesheet" href="/resources/demos/style.css" />
    <style>
    #draggable, #draggable2 { position:absolute; opacity:0.5;
        width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
    #draggable p { cursor: move; }
    #draggable {left:30px;top:0px;z-index:1}
    #draggable2 {left:160px;top:0px;z-index:2}
        
    </style>
    <script>
    $(function() {
        $( "#draggable" ).draggable({ handle: "p" });
        $( "div, p" ).disableSelection();
    });
    </script>
</head>
<body>
 
<div id="draggable" class="ui-widget-content">
    <p class="ui-widget-header">I can be dragged only by this handle</p>
</div>
 
    
    <svg width="500" height="500" style="position:absolute;z-index:-1">
        <rect x="0" y="0" width="100" height="100" fill="#FF8888"/>
    </svg>
 
 
</body>
</html>