JSFiddle - React, Tailwind, and code Playground
HTML
<input type="button" id="animate" value="Animate"/>
<div id="content">Animate Height</div>
CSS
#content {
background-color:#ffaa00;
width:300px;
height:0px;
overflow:hidden;
padding:3px;
}
JavaScript
$("#animate").click(function() {
$("#content").animate(
{"height": "80px"},
"fast");
});