- 🇪🇸Spain marcoscano Barcelona, Spain
Today I saw https://www.drupal.org/project/iconify_icons/ → , which provides integration with a library of open-source icons. Here's an example when searching for "events" : https://icon-sets.iconify.design/?query=event
Maybe we could have a submodule extending the
iconify_icons
API and allowing people to select their Type Tray icons directly from the UI? - 🇫🇷France goz
Drupal core now provides an Icon API. I guess it can be used (for the display), and ui_icons → for the widget.
- Merge request !34Issue #3205793: Implement Icon API for icons and thumbnails → (Open) created by goz
- 🇫🇷France goz
This should be done in major release since it provide breaking changes
- 🇪🇸Spain marcoscano Barcelona, Spain
Thanks for working on this.
However, my original idea was that we could integrate with an Icon-provider, but not necessarily restrict icons + thumbnails to this solution. I can see how large projects might have design teams in-house where they are able to produce their own icons and thumbnails, so we'll want to keep supporting local paths to custom assets, and only offer to choose from an asset library as an opt-in.Also I don't love the idea of having a hard-requirement on a contrib module for a feature that is not essential to the module, so that's why I suggested we added this functionality in a submodule, for example.
In any case, I haven't dug into too much detail, but it looks like the 2.x branch of https://www.drupal.org/project/iconify_icons/ → will indeed use core's icon API _and_ the UI Icons module to integrate with Iconify as icon provider? Maybe that's a good path forward then to have the best of both solutions?