JSFiddle - React, Tailwind, and code Playground

HTML

<ul>
    <li>
        <label>Name</label>
        <input type="text" />
    </li>
    <li>
        <label>E-Mail</label>
        <input type="text" />
    </li>
    <li>
        <label>Phone</label>
        <input type="text" />
    </li>
</ul>

CSS

ul {
    margin: 50px;
}

ul li {
    margin-bottom: 10px;
    font-family: Arial;
}

ul li label {
    display: inline-block;
    width: 100px;
}