This is a simple example of an expand/collapse widget. It uses a button with aria-expanded and aria-controls. The content container has the class details as requested, and its visibility is managed with JavaScript to animate height changes smoothly.