What is @syncfusion/ej2-icons?
@syncfusion/ej2-icons is a package that provides a collection of essential icons for web applications. These icons are designed to be used with Syncfusion's Essential JS 2 framework, but they can also be used independently in any web project.
What are @syncfusion/ej2-icons's main functionalities?
Basic Icon Usage
This code snippet demonstrates how to use a basic icon from the @syncfusion/ej2-icons package. The 'e-icons' class is used to apply the icon font, and 'e-home' specifies the particular icon to display.
<i class='e-icons e-home'></i>
Customizing Icon Size
This example shows how to customize the size of an icon. By applying inline CSS, you can change the 'font-size' property to make the icon larger or smaller.
<i class='e-icons e-home' style='font-size: 24px;'></i>
Changing Icon Color
This snippet demonstrates how to change the color of an icon. By using inline CSS, you can set the 'color' property to any valid CSS color value.
<i class='e-icons e-home' style='color: red;'></i>
Other packages similar to @syncfusion/ej2-icons
font-awesome
Font Awesome is a popular icon toolkit that provides a wide range of icons. It offers more icons and customization options compared to @syncfusion/ej2-icons, but it may be more complex to integrate with Syncfusion's Essential JS 2 framework.
material-icons
Material Icons is a set of icons designed by Google and used in Material Design. It offers a large collection of icons and is widely used in web and mobile applications. It is comparable to @syncfusion/ej2-icons in terms of ease of use and integration.
ionicons
Ionicons is an open-source icon set designed for use with Ionic Framework, but it can be used in any web project. It offers a modern and clean design, similar to @syncfusion/ej2-icons, but with a focus on mobile app development.
ej2-icons
The Syncfusion® Essential® JS 2 provides the set of base64 formatted font icons, that can be utilized in the web application.
This is a commercial product and requires a paid license for possession or use. Syncfusion® licensed software, including this component, is subject to the terms and conditions of Syncfusion® EULA. To acquire a license, you can purchase or start a free 30-day trial.
A free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
Setup
To install ej2-icons
, use the following command
npm install @syncfusion/ej2-icons
License
Check the license detail here.
Changelog
Check the changelog here