« * K @g12n.de

Michael G @g12n.de

2026-11-20 08:05 UTC

We are using a technique very closely related to this one @stuffbreaker.bsky.social describes here: bsky.app/profile/stuf... @lea.verou.me has written about something similar: lea.verou.me/blog/2026/ic... So I need a way to store the canonical url of an asset an output `--icon-tree: url(…)`

Quoting @stuffbreaker.bsky.social: We were looking for ways to improve the performance of our icon component. A surprising side-effect was that we also made it more extensible. Rendering our SVGs as CSS masks was the key! #html #css #DesignSystems #WebComponents dev.to/stuf…

Link: The best way to use icons in Web UIs • Lea Verou (lea.verou.me/blog/2026/icons/)

A reply in a thread.

2 likes, 0 reposts, 2 replies

3 Next post4 More from @g12n.deBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup