JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-1.12.3.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.0-rc.2/themes/smoothness/jquery-ui.css">
<script src="https://code.jquery.com/ui/1.12.0-rc.2/jquery-ui.min.js"></script>
<div id="dialog">
<input type="checkbox" id="checkbox">
<label for="checkbox">Click me</label>
</div>
JavaScript
$("#checkbox").checkboxradio();
$("#dialog").dialog();