Skip to main content

Component demos

Accessible expand / collapse widget examples

These examples show an accessible pattern for a button that expands or collapses a content region. Each widget is wrapped in a container with class "example" and the controlled content container uses the required class "details".

Basic expander

Expander with interactive controls