In reactive web applications, the Icon widget currently restricts input parameters to fixed design-time values. To enhance flexibility, the following improvements should be implemented:
• Runtime-Determined Input Parameters Values: The input parameters, particularly the Icon Name, should allow values that are calculated at runtime.
• Optional Design Time Example Attribute: This attribute would accept a fixed IconNameId value, specifically for displaying the icon during design time. If the Icon Name attribute is set to a fixed value, the Example attribute would automatically be disabled and show the Icon Name value at design time.
The proposed changes and implementation mimic the existing functionality of the Expression widget.