JSFiddle - React, Tailwind, and code Playground

HTML

<a id="myDialog">
        Some text           
        <input type="text"></input>
    </a>

JavaScript

$(document).ready(function() {
        $('#myDialog').dialog();
    });