Expandable Section
An expandable section gives a hierarchy to a page.
Last updated
An expandable section gives a hierarchy to a page.
Last updated
The Expandable Section component (an Accordion) lets you show or hide content on your screen. It usually has a title and a hidden content area. When you click the title, the content area expands to show the information inside. Click the title again, and the content area hides itself. This helps keep your screens organized and lets users focus on the necessary information.
Name | Description |
---|---|
Learn to configure the expandable section to add other components into a section. |
Closed
and/or Collapsible
By making it Collapsible
, a chevron button icon will be added to expand the section content.
The Closed attribute makes the expandable section closed by default. The user must click on the section's title to open and view the content.
The variant attribute defines the appearance of the expandable section header. However, the section header styling can be overridden by customizing styling settings from the Style panel.
Title and Content attributes can be filled manually or by selecting any available flow resources.
The Expandable Section component offers additional features to enrich your content visually:
Progress Indicators:
Visually display progress using either a circle or bar format.
Enter the progress value manually or map it to a flow variable for dynamic updates.
Customize the appearance with various UI settings.
Tags:
Add descriptive tags to categorize or highlight information.
Choose from different visual styles (variants) for the tags.
Add tags manually or populate them from a flow variable.
You can make your Expandable Section interactive by adding actions that trigger when users click on them. Here's how:
Add an Action Button: Create a button within your Expandable Section.
Configure the Action: In the "Action Click" interaction, define what should happen when clicking the button. You can navigate to a specific record page, open a modal, or trigger other actions.
This allows you to build more engaging and dynamic user interfaces within your flows.
The Styles panel offers two options to personalize the appearance of your Expandable Section:
Base: Adjust the default look of the section, including background, borders, and text.
Shaded: Apply a subtle background shading to the section for a visual distinction