JSFiddle - React, Tailwind, and code Playground

HTML

<div class="dada">
  <label for="myfile" class="chous">Выберите файлы</label>
  <input type="file" class="my" id="myfile" multiple="multiple"/>
</div>

<div class="dada">
  <label for="myfile2" class="chous">Выберите файлы</label>
  <input type="file" class="my" id="myfile2" multiple="multiple"/>
</div>

CSS

.chous {
    width: 180px;
    height: 50px;
    border-radius: 4px;
    text-align: center;
    margin: 25px;
    cursor: pointer;
    display: block;
    font: 14px/50px Tahoma;
    transition: all 0.18s ease-in-out;
    border: 1px solid #4FD666;
    background: linear-gradient(to top right, #3EC97A, #69EA49 20%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0)) top right/500% 500%;
    color: #4FD666;
}

.chous:hover {
    color: white;
    background-position: bottom left;
}
    
.my {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

JavaScript

$('.dada').on('change', function(e) {
	if(e.target.className === 'my') {
  	var files = e.target.files.length;
    var text = files ? 'Выбрано файлов: ' +files : 'Выберите файл';
  	$(this).find('label').text(text + name);
  }
})