JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/themes/base/jquery-ui.css">
<div id="dialog">
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>
CSS
body {
font-size: 11px;
}
.ui-dialog .ui-dialog-title .ui-icon {
float: left;
margin-right: 4px;
}
JavaScript
$("#dialog").dialog({
title: '<span class="ui-icon ui-icon-home"></span> Example Dialog'
});