Component Builder Information (v2)

Home Alternate Versions Color Checker Preview Lists Help Notes

Accordion Panel on Wordpress 5.7.4


Preview this component
(Custom Element; v2.15.0; 3/3/2023)

Guidelines using the component

Technical Information

This is normally used with the il-accordion component to create an accordion. You can (and should) use this independently of the accordion panel if you have a single accordion panel you want to display.

Description

Accordions are described at https://www.nngroup.com/articles/accordions-complex-content/. "An accordion menu is a vertically stacked list of headers that can be clicked to reveal or hide content associated with them. It is one of many ways you can expose content to users in a progressive manner."

Theme colors

By default, the gray theme is used. You can switch this to a white background using the il-theme-white class.

Accessibility

The header slot should be used to display a header of the appropriate level. Unlike an HTML details / summary tag, this will not swallow the header information.

Test information

First paragraph

Second paragraph

Component Display

Change Your Content and Options

Template -- enter raw HTML here

Important Classes

N/A

Classes

Attributes

N/A

Advanced Options

These options are only to be used in advanced situations -- most of your needs should be met through the attributes and classes, and this breaks the intent of having a unified design.

Custom Style Tag before text

How to add it to your page

Copy and paste this in your page. Remember

Note that this uses the custom style 'builder-custom'. You may need to change this if you are using multiple versions of this component with different styles.

Copied to clipboard