TLDR Design · QUICK LINKS

THE BEST WAY TO USE ICONS IN WEB UIS

lea.verou.me18 min read

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.