Skip to main content
Version: 3.4.x

UI Designer

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:

  1. Open FLOWX.AI Designer and select Definitions from the Processes tab.
  2. Select a process from the process definitions list.
  3. Click the Edit process button.
  4. Select a node then click the brush icon in the Process Designer navigation menu to open the UI Designer.

caution

The UI designer is available for User task nodes and Milestone nodes (nodes that require human interaction).

After adding a specific component to the node, the right-side menu will display more configuration options.

caution

Depending on the component type different properties are available for configuration.

info

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.

UI componentsโ€‹

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:

Settingsโ€‹

  • 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

ยปRoot components

By utilizing the UI Designer, users can easily create rich web interfaces with customizable UI components.

Stylingโ€‹

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.

Layoutโ€‹

Layout configuration is available for components that group children: root components and forms (more details about layouts can be found here):

  • 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

ยปLayout

Sizingโ€‹

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

Spacingโ€‹

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

ยปMarginยปPadding

Typographyโ€‹

  • 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

info

To learn how to upload custom font files, check the Font Management section.

Backgroundโ€‹

Background - the Background section allows users to set the background color for their components, accepted values:

  • a valid color name - like red
  • a HEX value - like #ff0000
  • an RGB value - like rgb(255,0,0)

Borderโ€‹

Border - border properties can be customized under the Border section, users can set the radius, width, or color of their component's borders

ยปBorder widthยปBorder radius

Advancedโ€‹

  • 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.

Tree viewโ€‹

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

Was this page helpful?