Drupal 9 Accordion-click to hide/reveal content

An accordion is a list of headers that can hide or reveal additional content when clicked. Frequently found on FAQ pages, accordions help users easily scan questions without being distracted by lengthy answers. They are a valuable tool for creating user-friendly interfaces that balance content-heavy sections, ensuring quick consumption and visual clarity. 

  • Add 'Accordion' - which is the first choice on the Paragraph Type picklist.
  • Add title
  • Add content using 'WYSIWYG' or 'Fifty Fifty' or 'Table'

You can switch 'Behavior' to Narrow or Wide