What is UI Designer?
The FLOWX.AI platform offers a variety of ready-to-use UI components that can be used to create rich web interfaces. These include common form elements like input fields, dynamic dropdown menus, checkboxes, radio, and switch buttons, as well as other UI elements like image, text, anchor links, etc. The properties of each component can be customized further using the details tab, and design flexibility is achieved by adding styles or CSS classes to the pre-defined components. The UI templates are built in a hierarchical structure, with a root component at the top.
Using UI designer
The FLOWX.AI platform includes an intuitive UI Designer for creating diverse UI templates. You can use various elements such as basic buttons, indicators, and forms, as well as predefined collections and prototypes. To access the UI Designer, follow these steps:
- Open FLOWX.AI Designer and select Definitions from the Processes tab.
- Select a process from the process definitions list.
- Click the Edit process button.
- Select a node then click the brush icon in the Process Designer navigation menu to open the UI Designer.
After adding a specific component to the node, the right-side menu will display more configuration options.
Depending on the component type different properties are available for configuration.
For more flexibility, undo or redo actions are available within the UI Designer. This includes tasks such as dragging, dropping, or deleting elements from the preview section, as well as adjusting settings within the styling and settings panel.
To undo or redo an action, users can simply click the corresponding icons in the UI Designer toolbar, or use the keyboard commands for even quicker access.
FLOWX.AI offers a wide range of UI components that can be customized using the UI Designer. For example, when configuring a card element (which is a root component), the following properties can be customized:
- Message - a valid JSON string that is pushed to the frontend application when the process reaches user task; this property is only available for Root components
- Properties - custom properties that vary depending on the component type
- Has Accordion (available only for Card component) - a Bootstrap accordion is a component that organizes content within collapsible items, allowing only one collapsed item to be displayed at a time
By utilizing the UI Designer, users can easily create rich web interfaces with customizable UI components.
In FLOWX.AI, styling options are available for components that group children, which can be found under the styling section.
Users can customize the direction, alignment, gap, sizing, and spacing of their layout. These properties help to create well-organized and visually pleasing user interfaces.
- Direction - horizontal or vertical
- Alignment - start, center, end, stretch
- Wrap - content will wrap to the next line when it reaches the end of a line within the element
- Gap - the gap property defines the size of the gap between the rows and between the columns
By setting desired values for these props, you can ensure that all UI elements on the interface are the desired size and perfectly fit with each other.
When adjusting the Fit W and Fit H settings, users can control the size and shape of the elements as it appears on their screen:
- Fit W: fill, fixed or auto
- Fit H: fill, fixed or auto
Margin and padding are CSS properties used to create space between elements in a web page:
- margin - the space outside an element
- padding - the space inside an element
Typography - typography options allow users to set font styles, colors, text indentation, and other formatting options; these properties can be found under the Typography section
Background - the Background section allows users to set the background color for their components, accepted values:
- a valid color name - like
- a HEX value - like
- an RGB value - like
- a valid color name - like
Border - border properties can be customized under the Border section, users can set the radius, width, or color of their component's borders
- Advanced - for advanced customization, users can add CSS classes to pre-defined components, this option is available under the Advanced section
By utilizing these styling options in FLOWX.AI, users can create unique and visually appealing interfaces that meet their design requirements.
The Tree View panel displays the component hierarchy, allowing users to easily navigate through the different levels of their interface.
Clicking on a specific component in the tree will highlight the selection in the editor, making it easy to locate and modify.
For more information on the different types of components available in FLOWX.AI, please refer to the next section:»Component types