icon

sets an icon type

string icon;

Example

webix.ui({
    rows:[
        { view:"icon", icon:"mdi mdi-email"},
        { view:"icon", icon:"fas fa-users"}
    ]
});

Related samples

Details

Icons can be defined as

  • separate views;
  • button types;
  • CSS classes.

The default icons are taken either from the Font Awesome or Material Design collections, depending on the used skin. You can also apply custom icons.

See also
Back to top