JSFiddle - React, Tailwind, and code Playground HTML <form> <input type=nome pattern="[^0-9]+"/> <input type=submit value=enviar /> </form>