Dynamic Style Action Button

Content Type: Widget
Categories: User Interface,Mobile,Visualization

Overview

Enhance your mobile apps with dynamic, stylish buttons that adapt instantly to user interactions and data.

 

Dynamic Style Action Button is a highly configurable native widget enabling dynamic customization of button properties such as borders, radius, background colors, and typography. Empower your interface design with runtime adaptability, improving user engagement through visually appealing, responsive buttons tailored to your application's context. Ideal for apps requiring versatile design elements without compromising performance or usability.

Documentation

Dynamic Style Action Button Documentation

Typical Usage Scenario

The Dynamic Style Action Button widget is specifically designed for Mendix mobile applications, helping developers create highly responsive and visually appealing buttons. It solves the challenge of creating buttons that dynamically adapt their appearance based on user interactions or changing data states. Ideal scenarios include apps requiring user personalization, adaptive user interfaces, and interactive workflows.

Features and Limitations

Features:

  • Dynamic configuration for border properties: width, color, and radius.

  • Customizable background color and typography including font family, size, weight, and color.

  • Supports real-time UI changes.

  • Accessibility features including configurable screen reader captions and hints.

  • Fully compatible with Mendix Native mobile applications.

Limitations:

  • Intended solely for Native mobile Mendix apps; not compatible with web or hybrid applications.

  • Styling customization relies on expressions evaluating to valid CSS values or predefined Mendix style variables.

Dependencies

No external dependencies required beyond standard Mendix Native mobile runtime.

Configuration

To configure the Dynamic Style Action Button:

  1. Drag and drop the widget into your Mendix Native mobile page layout.

  2. Configure the widget properties within the Mendix Studio Pro properties panel:

    • General: Customize caption, border properties (width, radius, color), background color, and typography (font family, size, weight, color).

    • Events: Assign an action to the button's click event.

    • Accessibility: Enable accessibility options, and provide screen reader captions and hints as necessary.

  3. Expressions provided in properties should return valid CSS-compatible strings.

Known Bugs

Currently, there are no known bugs for this component.

Frequently Asked Questions

Q: Can I use this widget in Mendix Web applications?

A: No, this widget is exclusively designed for Mendix Native mobile applications.

 

Q: Does the widget support dynamic data-bound styling?

A: Yes, the widget fully supports expressions, allowing runtime evaluation of styling properties based on app data.

Releases

Version: 1.0.0
Framework Version: 10.18.0
Release Notes: Initial version