Expand/collapse toggle (example)

Expand/collapse toggle (example)

This is an example heading with a toggle control that allows a user to expand/collapse the content that is optionally initially hidden.

Here’s some content that is initially hidden and will be expanded on click.

This is the same kind of block, but it defaults to an open state.

Here’s some content that is initially shown and will be collapsed on click.

Scroll to Top