JSFiddle - React, Tailwind, and code Playground
HTML
<p>Select your preferred contact method:</p>
<div>
<input type="radio" id="email" name="contact" value="email">
<label for="email">Email</label>
<input type="radio" id="phone" name="contact" value="phone">
<label for="phone">Phone</label>
</div>
CSS
input[type="radio"]:checked + label {
font-weight: bold;
}