JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.jquery.com/ui/1.11.0/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css">

JavaScript

$('<div>')
.dialog({
  modal: true
})
.append([
  $('<input>')
  .autocomplete({
    source: ['test', 'test2', 'test3']
  })
]);