JSFiddle - React, Tailwind, and code Playground
by Paolo Basso
HTML
<label for=b1>
Name
<input type=file name=upfile id=b1 accept='image/png'>
</label>
CSS
label {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
text-decoration: none;
color: initial;
}
input {
width: 0px;
outline:none;
opacity:0;
visibility:none;
height:0px;
display:none;
}