Expand/Collapse Widget Examples

Section 1: Basic Information

This is the content for the first section. When you click the header above, this content will expand or collapse.

It can contain any HTML elements you wish, such as paragraphs, lists, images, etc.

Section 2: More Details

This section demonstrates using a list within the collapsible content.

Section 3: Another Example

Here's another example to show the reusability of this widget.

The `expanded` class is toggled on the parent `.example` div to control visibility.