JSFiddle - React, Tailwind, and code Playground
HTML
<form action="">
<fieldset>
<label for="name">* Name:</label>
<input type="text" value="name" id="name" aria-required="true" />
<legend>Choose a shipping method:</legend>
<input id="male" type="radio" name="gender" value="overnight">
<label for="overnight">Male</label><br>
<input id="twoday" type="radio" name="gender" value="twoday">
<label for="">Female</label><br>
</fieldset>
</form>