JSFiddle - React, Tailwind, and code Playground
HTML
<label>Name</label>
<input type="text" />
<br/>
<label>Email Address</label>
<input type="text" />
CSS
label {
width: 100px;
display: inline-block;
}
<label>Name</label>
<input type="text" />
<br/>
<label>Email Address</label>
<input type="text" />
label {
width: 100px;
display: inline-block;
}