All icon imports have been renamed to lowerCamelCase. For example: FeatherAirplay
now becomes featherAirplay
.
We now also recommend using the same casing in your templates, so instead of feather-airplay
you should use featherAirplay
.
This allows us to align the names with the import as it was not immediately obvious what name should be used in the template in certain cases.
For example, HeroSquare2x2
, should that be hero-square-2x2
or hero-square-2-x-2
or hero-square2x2
etc...
To ease the migration we have provided automated migrations. Run the following:
ng update @ng-icons/schematics
or if you are using an Nx workspace:
nx migrate @ng-icons/schematics
This only updates your Typescript files, so your templates will still use the hyphenated names. They will continue to work as before, however as mentioned are no longer recommeded.
- Updating iconsets, in particuar Heroicons v2. This may result in some names changing or icons being removed.
- A few icon names were incorrectly named in the
IconName
type, these have now been corrected.
- Angular 13 is no longer officially supported.
IconComponent
has been renamed toNgIconComponent
Angular 12 is no longer officially supported.
The following iconsets have been updated:
- Tabler Icons
- Material Icons
- Octicons
- Iconoir
As part of these updates a few icons may have been removed or renamed.
The following iconsets have been updated:
- Feather Icons
- Material Icons
- Tabler Icons
- Iconoir
As part of these updates a few icons may have been removed or renamed.
The Octicons package has been updated to use @primer/octicons
instead of octicons
.
There have been some visual changes to the icons, and some icons may no longer be available.
However, there are new icons that have been added and a large
variant to provide an additional variant of many icons.
The following changes are required to upgrade from version 13 to version 14:
- Outline icons should now be imported from
@ng-icons/heroicons/outline
. - Solid icons should now be imported from
@ng-icons/heroicons/solid
.
- Baseline icons should now be imported from
@ng-icons/material-icons/baseline
. - Outline icons should now be imported from
@ng-icons/material-icons/outline
. - Round icons should now be imported from
@ng-icons/material-icons/round
. - Sharp icons should now be imported from
@ng-icons/material-icons/sharp
.