<label htmlFor="filePicker" style={{ background:"grey", padding:"5px 10px" }}> My custom choose file label </label> <input id="filePicker" style={{visibility:"hidden"}} type={"file"}>