A card in Flowx is a graphical component designed for the purpose of grouping and aligning various elements. It offers added functionality by incorporating an accordion feature, allowing users to expand and collapse content as needed.
When utilized as the root component, the card provides the following settings:
Message: A valid JSON describing the data transmitted to the frontend when the process reaches a specific user task.
Title: The title of the card.
Subtitle: A subtitle accompanying the card.
Card style: Choose between a border or raised style for the card.
Has accordion: This feature introduces a Bootstrap accordion, facilitating the organization of content within collapsible items. It ensures that only one collapsed item is displayed at a time.
Starting from platform version 3.4.7, the “Message” property for cards has been replaced with “Custom UI Payload.” In User Tasks containing UI Elements, the Backend (BE) automatically dispatches all relevant data as process variables to the Frontend (FE) by default. Explicitly mentioning data to be pushed is no longer required.
Layout - This property is available for components that group children and includes the following options:
Direction - Horizontal / Vertical (for example, select Vertical)
Justify (H) - (for example, select center)
Align (V) - this option allows you to align components vertically
Gap - you can set the gap between components
More layout demos available below:Layout DemosThis example will generate a card with the following layout configuration:For more information about styling and layout configuration, check the following section: