-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Accordion Component
The Accordion displays as a single stack of Accordion Blades in all the views.
The component has the following elements:
- Accordion Blade:
- On click/tap, opens the accordion panel and changes to the OPEN state (i.e. the Blade Label is bold, and the Hide icon displays).
- On click/tap again, closes the accordion panel and changes to the CLOSE state (i.e. the Blade Label is not bold, and the Hide icon displays).
- Blade Label:
- Supports an unlimited number of characters.
- Show icon:
- Only displays in the closed state.
- On click/tap, opens the accordion panel and changes to the OPEN state.
- Hide icon:
- Only displays in the open state.
- On click/tap, closes the accordion panel and changes to the CLOSE state.
- Flexible Panel:
- Only shown in the OPEN state.
- Must be able to configure whether only one or multiple panels can be open at a time.
- Must be able to configure which panel(s) is open by default.
- Each panel holds self-contained content. The panel adjusts to the height of the content.
- The Accordion occupies 100% of the width of the parent container. The components and content inside the Accordion wrap based on the width of the parent container.
Reactions are currently unavailable