JSFiddle - React, Tailwind, and code Playground
by TJ VanToll
HTML
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css">
<link href="http://code.jquery.com/ui/jquery-ui-git.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-git.js"></script>
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<form id="form"></form>
<div>
<label for="one">one</label>
<input type="radio" name="number" value="1" id="one" form="form">
<label for="two">two</label>
<input type="radio" name="number" value="0" id="two" form="form" checked>
</div>
JavaScript
$( "div" ).buttonset();