TLDR Design · QUICK LINKS
THE BEST WAY TO USE ICONS IN WEB UIS
Summary from the TLDR Design newsletter
Icons can be inserted and swapped from CSS alone by storing them as custom-property design tokens and rendering them through masked pseudo-elements.