Accordion consists of multiple details elements, stacked vertically for default layout. Each element contains a summary and a content area, which is what the details part references. Users can click on the summary to expand or collapse the details element.
By default, the accordion has its open-single set to false. To ensure that only one accordion item opens at a time, set the open-single attribute’s value to single.