2.2.0
In v2.2.0, you can use variants on icon class names, which is easier to be passed to other Phlex components.
For example, instead of writing:
PhlexIcons::Hero::AcademicCap(variant: :solid)
You can write:
PhlexIcons::Hero::AcademicCapSolid
And everything should work the same, including passing class
and other attributes to the icon component.
Full Changelog: 2.0.0...2.2.0