Expand/Collapse Widgets

Click the buttons to toggle the associated content regions.

Example 1
Example 2 (open by default)

Here are some tips for collapsible sections:

  • Use clear labels on the toggle so users know what they’re expanding.
  • Keep content concise to avoid overwhelming readers.
  • Group related information into separate, independently collapsible widgets.
  • Use focus styles and ARIA attributes to improve accessibility.

Because this widget is open by default, its content is immediately visible.