JSFiddle - React, Tailwind, and code Playground

HTML

<form>

      <label>Will only allow 3 characters <input name=status maxlength=3>
     </form>