JSFiddle - React, Tailwind, and code Playground

HTML

<form action="" method="POST">
        <input  required = "true"/>Your name:
        <br />
        <input type="submit" />
    </form>