Accordion

Prev Next

Editorial purpose

Use an accordion to organize large or secondary content into collapsible sections, making long pages easier to scan.

See an example of this module in action: Accordion.

Find an example in the screenshots below:

Accordion module in light mode

Accordion module in light mode

Accordion module in dark mode

Accordion module in dark mode

Required FORGE custom entity

This module requires the Accordions custom entity.

Parameters

Visual

Label

Type

Description

Hide module

Toggle

Temporarily hides the module.

Full screen view

Toggle

Enables the full-screen view.

Color Schema

Selection

Options: light (Light), dark (Dark).

Remove top spacing

Toggle

Removes spacing above the module.

Remove bottom spacing

Toggle

Removes spacing below the module.

Expand first element

Toggle

Expands the first accordion element when the module initially loads.

Animation

Label

Type

Description

Enable Animation

Toggle

Enables module animation.

Title & CTA

Label

Type

Description

Header Title

Text

Title displayed in the module header.

CTA title

Text

Title displayed for the call to action.

CTA link

Text

Link destination for the call to action.

Show CTA arrow

Toggle

Displays an arrow next to the CTA button.

SEO

Label

Type

Description

Header Title Heading Level

Selection

Options: h1 (H1), h2 (H2), h3 (H3), h4 (H4), h5 (H5). Default: h2.

Hide Header Title in the html

Toggle

Hides the header title visually while retaining it in the HTML for SEO.

Label

Type

Description

Sponsor asset

Text

Slug of a Sponsor entity used to retrieve its image and linked URL. In the content picker, search by slug and select partner content.

Sponsor label

Text

Sponsor label, for example, presented by or sponsored by.

Data

Label

Type

Description

Accordion Slug

Text

Slug of the Accordion entity to display. In the content picker, search by slug and select accordion content.