JSFiddle - React, Tailwind, and code Playground
HTML
<form
action="https://formspree.io/f/xzbkovlk"
method="POST"
enctype="multipart/form-data"
>
<label>
Your email:
<input type="text" name="_replyto">
</label>
<label>
Your file:
<input type="file" name="upload">
</label>
<button type="submit">Send</button>
</form>