JSFiddle - React, Tailwind, and code Playground

by igalst

HTML

<form>
    <input type="radio" name="rad" value="Radio Button">
    <label for="rad">Radio Button</label>
</form>

CSS

input[type=radio]:checked + label {
    color: blue;
}