JSFiddle - React, Tailwind, and code Playground

HTML

<form action="#">
   <p><input name="user" required placeholder="Ваше имя"></p>
   <p><input type="submit" value="Отправить"></p>
  </form>