There are five different types of icons that can be used in lightning component:
Lightning icons can be used in some of the lightning components like
Consider following lightning component code for the usage:
The name of the icon is specified in the iconName attribute of the component. Along with, we can also specify the size and variant of the icon according to the requirement.
Types of sizes:
Types of variant:
The icons look as follows:
To know more about the icons refer to https://www.lightningdesignsystem.com/icons/
If you're ready to find out more about how SimplusLabs can help energize your workers, your customers, and your business with a different experience, let's talk.