Examples for expansion
Accordion with expand/collapse all toggles
Testing with MatExpansionPanelHarness and MatAccordionHarness
This example contains tests. Open in Stackblitz to run the tests.
Basic expansion panel

This is the primary content of the panel.

I'm visible because I am open

Expansion panel as accordion
Personal data Type your name and age
Azure & Blue theme selected.