Web Implementation Guidelines Group Component Builder Information (v3+)

Component: Accordion 1.0

This builder will allow you to generate a custom version of the Accordion component.

The component will show up in between the pink lines below. The pink lines will not show up in production -- they are only used to allow you to view margins and paddings. In the case of specialized components (things that are meant to be invisible or have a fixed location), the component may not display in this area.

Template -- enter raw HTML here

Attributes, Classes, and CSS Variables

(attribute)
Color theme used, defaults to blue
(attribute)
Width of the accordion (should it use the containing controller or break to full width)
(attribute)
Whether or not it limits the number of open items to a single item
Custom CSS Variables and Styles (advanced use only)
Text color of the accordion
Background color of the accordion
Text color of the accordion when hovered or focused
Background color of the accordion when hovered or focused
Transform of the chevron when not expanded
Transform of the chevron when expanded
Margin of the main accordion
Margin of the panel
Padding of the panel content
Color of the left border of the panel

HTML listed here

This parent has a style of that is not figured into the source HTML. You can change this by opening the Custom CSS Variables and Styles and editing the parent style.

Details

This is an accordion where you have headers and each header can be opened to display more information.

Full Version: 1.0.1

Type: web component

Date Created: 10/22/2024

Version notes:

Github repository: https://github.com/web-illinois/ilw-accordion/

Javascript file: https://cdn.toolkit.illinois.edu/ilw-accordion/1.0.0/ilw-accordion.js

CSS file: https://cdn.toolkit.illinois.edu/ilw-accordion/1.0.0/ilw-accordion.css

JSON information: ilw-accordion.1.0.json

Web Implementation Guidelines Group Component Builder Information (v3+)

Note: this page is not using the toolkit because it is meant to test individual components in isolation.