This native HTML element uses a summary to toggle the visibility of the content contained inside the details element.
You can customize the appearance with CSS, and add ARIA attributes for accessibility.
This is a custom expand/collapse widget. The content container has a class="details". It is shown or hidden by toggling the hidden attribute on the container.
You can add more content here, and reuse this structure for multiple widgets on the page.