Accordion

Prev Next

Editorial purpose

Shows the items of one Accordion entity as a list of expandable rows, each with a header and a body, with an optional section title above.

Required FORGE custom entity

This module requires the Accordions custom entity.

Parameters

Visual

Label

Type

Description

Hide module

Toggle

Hide the module.

Expand first element

Toggle

If true, the first element of the accordion will be initially expanded. With expandFirstElement on, the first row starts open; users can still open and close every row.

Remove top spacing

Toggle

Remove the spacing above the module.

Remove bottom spacing

Toggle

Remove the spacing below the module.

Title & CTA

Label

Type

Description

Header Title

Text

Set the module heading. headerTitle is a vocabulary key and is hidden when empty.

Data

Label

Type

Description

Accordion slug

Text

Get an Accordion entity by slug. In the content picker, search by slug and select accordion content. Set slug to an Accordion entity (distribution path accordions); each item of its accordions field becomes a row with a header and a body. Header and body support formatted text.