Picture of Ignacio Cinalli
Re: Icons used - a guide
by Ignacio Cinalli - Tuesday, 8 May 2018, 2:26 PM
 

Hi, to display icons you need add .icon class.

Could be in hbs template file or inside the json.

accordion.hbs example:

<divclass="accordion-item-title-inner">
<divclass="accordion-item-title-icon icon icon-plus h5"></div>
{{{title}}}
</div>

 

component.json example:

    {
        "_id": "c-05",
        "_parentId": "b-05",
        "_type": "component",
        "_component": "text",
        "_classes": "",
        "_layout": "left",
        "title": "Introduction",
        "displayTitle": "",
        "body": "<div class='icon icon-star'></div>",
        "instruction": "Scroll down to see...",
        "_pageLevelProgress": {
            "_isEnabled": true
        }
    }
 

Hope this helps.