JSFiddle - React, Tailwind, and code Playground

HTML

<button>Кнопка</button>
<input type="text">

CSS

input {
    display: none;
}

JavaScript

$('button').on('click', function(){
    $('input').stop().fadeToggle();
});