JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css">
<button class="btn">Foo</button><br/>
<button class="btn">Foo</button><br/>
<button class="btn">Foo</button><br/>
JavaScript
$('.btn').on('click', function(){$('body').append('<p>click</p>')});
$('.btn').button();