Install
Works with Drupal: ^11.3 || ^12.0Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Popover icon selector, icon settings per field value and icon settings per menu.
Contributors (11)
bronismateusz, budalokko, dimilias, grimreaper, idiaz.roncero, jenbrueske, mogtofu33, norman.lol, pdureau, svendecabooter, thamas
Breaking change
UI Icons Canvas: string props tagged x-canvas-prop: ui-icon are no longer mapped to an icon. Switch them to an object prop with pack_id, icon_id and an optional settings, see the documentation.
Embed icon filter: an icon from a pack the text format does not select in Icon Pack selectable is no longer rendered, #3489864. Before, an icon added in source mode rendered anyway. Check that setting on your text formats: leave it empty to allow every pack.
Upgrade
Run the database updates after updating. They add a settings column to every Icon field, add the icon selector setting of UI Icons for UI Patterns, and keep the span wrapper in text formats using the Embed icon filter.
The 2.0.x branch is no longer supported. The 1.1.x branch gets security fixes only, until January 31, 2027.
Changelog
Issues: 24 issues resolved.
Changes since 2.0.2 (compare):
Full history in CHANGELOG.md.
Bug
- #3591897 Icon settings dialog grows past the viewport, items are not reachable
- #3591900 Automated Drupal 12 compatibility fixes for ui_icons 2.0.x-dev
- #3591887 Disable form submit while the icon autocomplete's own ajax request is still in flight
- #3591895 picker.js opens scrolled when there is not enough space
- #3477019 IconPicker focus
- #3489858 Media autocomplete error when not path extractor
- #3591902 Port 3591901 for 2.x
- #3591903 Icon picker: typing in “Filter by name” loses cursor position after the auto-search
- #3591899 Display Builder compatibility: selector grid overflow
- #3591904 integration bugs and slow icon searches found in a module review
- #3591905 Improve the icon autocomplete and picker usability and performance
- Add a Field Sample Value generator for link fields with an icon
- #3591912 Cannot clone to a windows file system due to filename with special characters
- Breaking #3591894 Use the standard icon prop shape in Drupal Canvas
- #3489864 Do not render icons from packs the text format does not allow
- #3482151 Menu: support non content menu links
Docs
- Update docs and agents rules
- Link the help page to the documentation site and exclude dev files from packages
- Point the branch references at 2.1.x
- Mark 2.0.x unsupported and set the 1.1.x end of support
Feature
- #3511794 Render the icon library with the front theme
- #3591899 Suggest icons as a grid in the icon sources
- #3591884 feature: ui_icons_menu: allow configuring icon selector and allowed icon packs
- #3471992 Plugins must add dependencies to config entities
- #3591908 Store icon settings per value in ui_icon fields
- Add an in-place icon popover selector with groups
- Make the icon source selector configurable, default to the popover
- #3503792 Allow removal of span drupal-icon when rendering an icon in RTE