Accordion

This component lets users show and hide sections of related content on a page.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sed maximus est. Vivamus vel dapibus tortor. Ut vel odio fermentum, tristique justo eget, mattis enim. Nulla rhoncus lorem et elementum molestie. Curabitur tincidunt hendrerit purus, non convallis tellus gravida a. 

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sed maximus est. Vivamus vel dapibus tortor. Ut vel odio fermentum, tristique justo eget, mattis enim. Nulla rhoncus lorem et elementum molestie. Curabitur tincidunt hendrerit purus, non convallis tellus gravida a. 

Usage Criteria

This component is used as a way to get an overview of multiple, related sections of content containing information not everyone may need to access. 

Do's and Don'ts

  • Do not use this component for content that would have less than three expandable segments.
  • Do not use this component if all information would be needed by most users (essential information should not be hidden).

Design Notes

If there are less than three segments of information, it might be more beneficial to use the Anchor/Sticky Nav component, which displays the options horizontally instead and shows all the content.

For the expandable content area, avoid adding large or complex components; basic text and CTAs are preferred. Consult a power user for exceptions.

Configurable Options

This component has text fields labeled Accordion Title where the title of each segment can be configured, and an option to have the accordion default to display as expanded or collapsed. 

As for the content, authors can manually add components as they normally would within a column into the expanded space.

Developer Notes

Type Name
AEM Component Name Accordion
Code Base Name  
resourceSupertype  
SCSS Attributes  
JavaScript  
Status  
Version