Accordion
Display an expandable section of content
How to use
- Go to the Data tab in the Properties panel and under Setup > Label, add a label on the component to display on the screen.
- Select a Text or any other component that you want to display as children of the Accordion component.
- Go to the Data tab in the Properties panel and under Setup > Item Label, add a label on the component to display on the screen.
Style Properties
Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.
Component-Specific Styles
Property | Description |
---|---|
Arrow Icon Color | Set a color for the right-aligned arrow used to open/close the Accordion. |
Arrow Icon Size | Set a size for the right-aligned arrow used to open/close the Accordion.. |
Closed Content Color | Set a color for the label displayed on the Accordion when closed. |
Icon Size | Set the size of the left-aligned icon displayed on the Accordion |
Expanded Content Color | Set a color for the label displayed on the Accordion when open. |
Configuration Properties
Property | Description |
---|---|
Component Name | To alter the name of the component. The name is reflected in the Components tree. Defaults to Accordion. |
Data Properties
Property | Description |
---|---|
Label | Label to display for the Accordion |
Icon | Icon to display for the Accordion |
Expanded | Enable this option to expand the Accordion Items. It is disabled by default |
Conditional Display
You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.
Updated 14 days ago