JSFiddle - React, Tailwind, and code Playground

HTML

<input type="email" name="email" required pattern="[^@]+@[^@]+.[a-zA-Z]{2,6}" />