JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<input id="file" type="file" style="display: none;">
<button id="button">Add file</button>

CSS

#button
{
    background-color: blue;
    color: white;
}

JavaScript

$('#button').click(function(){
    $('#file').click();
});