Last Icon just got better
·Oct 7, 2022·
1 min read
Last year I have published the Last Icon library. Today, I've finally published the V2 of this library which brings new benefits.
Given how easy it is to implement lazy loading thanks to IntersectionObserver, icons are now lazy loaded by default for optimal performance.
Material symbols, the brand new icon set from Google, is now fully supported. Everything is adjustable when you use the font icon, and it will fallback to svg if you don't use the font.
Animating fonts, variable weight, optimal optical size... everything is built-in!
I'm now using a new pattern to configure my custom elements using the "whenDefined" feature. Every option is now documented properly and makes the library easier to use.