JSFiddle - React, Tailwind, and code Playground

HTML

<a href="#" class="more">show more</a> <br>
<div class="toggle">
    this is more
</div>

JavaScript

$(".toggle").css('display','none');
    
    $( ".more" ).click(function() { 
        $(this).next().next().toggle( "slow" );
    });