JSFiddle - React, Tailwind, and code Playground

HTML

<form>
  <fieldset>
    <legend>
      Cars
    </legend>
    <div>
      <label for="cars">Select car</label>
      <select id="cars" multiple="multiple">
        <option value="bmw">BMW</option>
        <option value="citroen">Citroen</option>
        <option value="skoda">Skoda</option>
        <option value="Volvo">Volvo</option>
      </select>
    </div>
  </fieldset>
</form>