Icons in JavaScript - Syncfusion Steps to use icons library. Add the class name e-icons to the HTML element which needs to render the icon. This class contains the font-family and common property of font icons. Add the icon class with corresponding icon content from the available icons. For example, the below code snippet represents the search icon class. Copied to clipboard.