An expand/collapse widget lets you hide or reveal additional content. Using the native details and summary elements gives you accessibility and keyboard support out of the box.
This content is inside the container with class details, and it becomes visible when the summary is activated.