JSFiddle - React, Tailwind, and code Playground

HTML

<fieldset>
    <input type="text" />
    <input type="text" />
    <input type="text" />
    <input type="text" />
    <input type="text" />
</fieldset>
<fieldset>
    <input type="text" />
</fieldset>

CSS

fieldset {
    border: none;
    display: inline-block;
    margin: 0px;
    padding: 0px;
}

input {
    display: inline-block;
}