JSFiddle - React, Tailwind, and code Playground
HTML
<label>100<input type="radio" name="price" value="100" checked></label>
<label>200<input type="radio" name="price" value="200"></label>
<label>300<input type="radio" name="price" value="300"></label>
<input type="text" value="100">
CSS
label{
margin: 0 0 10px;
display: block;
}
JavaScript
$(':radio').on('change', function(){
$(':text').val(this.value);
});