Change Icon via CSS

Hi,

I am building a reusable Alert and I want to change the icons via css, can I get access to the icons in UI builder?

Thank you

Hi Farid,

You could use two Icon components and control their visibility with the CSS classes.

Alternatively, your Icon component can have some logic to control what icon to use. Here’s an example:
https://www.backendless.us/api/files/ui-builder/containers/support/index.html?page=iconcontrol

This is the logic I have in there:

Regards,
Mark