icons
Synopsis
This module provides an API and render elements to use icons within Drupal. It defines a configuration entity type for icon sets and a plugin type for Icon Libraries. But to make sure everybody won't start empty handed, a set of sub modules is included to integrate icons Icomoon and Fontello from the start.
Requirements
Drupal 10/11 and the Options core module
Recommended modules
Custom Menu Links (menu_link_content) core module.
Roadmap
- Adding options to menu configuration form to choose which icons and icon sets are available for the links.
- Show in the Icon Set form if there are new icons available which are not in the configuration yet (for the Icomoon and Fontello submodule).
- Possible integration of icon configuration in other parts like blocks.
Known problems
Using multiple Icon Sets could lead to conflicting CSS, so be carefull when implementing this. Try to use custom prefixing for your theme/module. Icon apps like icomoon and fontello already supply this as a setting.
Credits
Special thanks to:
And the company supporting this module:
Similar projects and how they are different
There is a project named Icon API. They offer submodules for block and menu implementations. This module offers menu support out of the box because it is one of the main "sitebuilding" features where someone wants to use icons in general.
Dependencies
Only dependency is Drupal 10/11 and the options core module.