JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="http://taitems.github.io/Aristo-jQuery-UI-Theme/css/Aristo/Aristo.css">
<div class="ui-widget">
<label for="tags">Tags: </label>
<input id="tags" />
</div>
CSS
.ui-autocomplete {
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
}
.ui-autocomplete .ui-menu-item a {
padding-right: 20px;
white-space: nowrap;
}
JavaScript
var availableTags = ["Air Force blue",
"Alice blue",
"Alizarin crimson",
"Zinnwaldite brown"];
$("#tags").autocomplete({
source: availableTags
});