JSFiddle - React, Tailwind, and code Playground
by Tan
HTML
<div class="radiowrapper">
<input type="radio" name="state" value="auto" id="auto" checked>
<label for="auto">Auto</label>
<input type="radio" name="state" value="manual" id="manual">
<label for="manual">Manual</label>
</div>
CSS
.radiowrapper input {visibility:hidden; width:0;}
.radiowrapper input:checked + label {color: #FFFF00;}