UI Designer best practices in FlowX.AI

When designing user interfaces with FlowX.AI UI Designer, following established best practices ensures consistent, usable, and effective user experiences.

Design principles

Based on FlowX.AI documentation for creating user interfaces:

Consistent Styling

Use consistent styling across all screens for a cohesive user experience.Leverage platform-specific overrides strategically while maintaining visual consistency.

Logical Grouping

Group related inputs within logical sections or cards.Use Cards and Containers to organize content and create visual hierarchy.

Proper Validation

Implement proper validation to prevent errors and guide users.Use available validators: required, custom, and conditional validation.

Clear Feedback

Provide clear feedback on actions with success and error messages.Use UI actions to handle user interactions appropriately.

Component usage guidelines

Form elements best practices

Layout best practices

When to Use: Simple, sequential content flowConfiguration:
  • Direction: Choose Horizontal for row layout, Vertical for column layout
  • Justify: Control main axis alignment (Start, Center, End, Space Between, etc.)
  • Align: Control cross axis alignment (Start, Center, End, Stretch)
  • Gap: Set appropriate spacing between elements
  • Wrap: Enable for responsive behavior when needed
Best For:
  • Form layouts
  • Content that flows in one direction
  • Mobile-first designs

Platform-specific best practices

Web Platform

1

Navigation Design

Navigation Types:
  • Use Single Page Form for displaying all User Tasks on the same page
  • Use Wizard navigation for step-by-step processes
  • Configure actions properly for smooth navigation flow
2

Zone Configuration

Web-Specific Features:
  • Utilize zones with headers and footers (web-only feature)
  • Implement proper navigation hierarchy
  • Use cards to guide users through content on single-page forms
3

Layout Optimization

Screen Real Estate:
  • Take advantage of larger screen sizes
  • Use appropriate justify and align settings for content distribution
  • Consider horizontal layouts for better space utilization

Mobile Platforms (iOS & Android)

Dynamic behavior best practices

Hide and Disable Expressions

Purpose: Control element visibility based on conditionsImplementation:
  • Use JavaScript expressions that evaluate to true/false
  • Reference process data store keys for dynamic evaluations
  • Configure in Settings β†’ Platform β†’ Overrides β†’ Expressions β†’ Hide
Common Use Cases:
  • Show/hide fields based on user selections
  • Display different content for different user roles
  • Adapt interface based on process state

Conditional Styling

Available For: Text, Link, and Container elements
1

Configuration

  1. Select a Text, Link, or Container element
  2. Navigate to the Styles tab
  3. Locate the Conditional Styling section
  4. Click the βž• icon to add expressions and effects
  5. Use the JS Editor to configure expressions
2

Structure

Condition: String expression evaluated similarly to hide/disable expressions Overrides: Key-value map defining property-value pairs to apply
3

Best Practices

  • Use real-time data evaluation for responsive UI updates
  • Handle conflict resolution (latest condition takes precedence)
  • Combine with data-driven expressions for adaptable designs

Validation best practices

Available Validators

UI actions best practices

Event Configuration

Common Events:
  • CHANGE: Triggered when form element values change
  • Use for updating dependent fields, triggering calculations, showing/hiding related content
Action Types:
  • Process Actions: Advance workflow based on user interactions
  • Data Operations: Update form fields and process data
  • UI Updates: Show/hide elements dynamically
  • External Calls: Integrate with external systems
Configure UI actions to provide immediate feedback and create responsive user experiences.

Testing and quality assurance

Platform Testing

1

Multi-Platform Preview

Use the UI Designer’s platform switching to preview designs across Web, iOS, and Android platforms.
2

Responsive Testing

Test layouts with different content lengths and screen orientations.
3

Expression Validation

Test hide/disable expressions and conditional styling with various data scenarios.
4

Navigation Flow

Verify wizard navigation and single-page form behaviors work as expected.

Content Considerations

Accessibility

Design Considerations:
  • Use proper labels for form elements
  • Ensure sufficient color contrast
  • Test with assistive technologies
  • Provide alternative text for images

Responsive Design

Test Strategy:
  • Verify layouts work on different screen sizes
  • Test navigation on both mobile and web
  • Ensure content remains readable across platforms
  • Check platform-specific overrides function correctly

Common patterns and solutions

Copy Navigation Areas: Use the copy/paste feature to replicate navigation hierarchies between platforms (within the same process definition and environment). Area Deletion: When deleting navigation areas, remember that child areas are also removed, and user tasks are relocated to the User Tasks section.

Theme and styling management

Theme Overrides:
  • Customize component appearance to differ from theme settings
  • Import/export theme overrides between platforms for consistency
  • Use contextual menu options for efficient style management
Style Copying: Use copy/paste functionality for styles between compatible components and across platforms.
These best practices are based on actual FlowX.AI capabilities and documentation. Always refer to the latest documentation for the most current features and recommendations.