There are three ways to use icons in your project:
✅ No additional libraries, dependencies, or 100s of KB to add, and the icon and styles are simple to modify in the HTML.
💢 Code clarity
🏆 Best for: Web sites or apps that are not using many icons
✅ No additional libraries, dependencies, or 100s of KB to add, code clarity
💢 Cannot edit or change styles and the icon in the html, you need to edit the SVG file
🏆 Best for: Web sites or apps use the same icons in many places, code clarity is prioritized
The same steps in way 1 apply here, but you need to save the SVG code in a file with the .svg extension.
✅ Code clarity, the icon and styles are simple to modify in the HTML.
💢 Additional libraries, dependencies, and 100s of KB to add
🏆 Best for: Web apps that need 100's of icons, not recommended for websites
Add the classes icon-xs icon-s icon-sm icon-m icon-ml icon-lg icon-xl
Built with love in by Kim Majali, EITO team, and contributors.