Icon - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki

<ICON/> : ViewableWidget

The <ICON/> widget creates a simple icon from the list of possible FML icons.

Attributes

Name Type Default Description Req
icon string The name of the icon as shown here.
size int/% 32 The size of the icon

Examples

*Example #1 : An icon inside of a <BUTTON/>.
<FML title="ICON (example1)" linkable="true" center="true">
  <BUTTON onclick="toast('Saved')">
    <ICON icon="save" color="blue" size="64"/>
  </BUTTON>
</FML>

Icon Example

logo See it in Action

Other Widgets You May Find Useful:

⚠️ **GitHub.com Fallback** ⚠️