[8.x-1.x] SVG Icon field

Created on 29 October 2024, about 2 months ago

This project provides an SVG icon field which can be part of any content entity. It comes with field plugin, widget and formatter and also an icon service. Icons are on CC0 licence which means it can be used without attribution or permission on commercial and private projects. It also allows to provide own set of icons by a hook_svg_icon_field_categories_alter.

In the future there should be extra options added to define categories and icons by fetching data from an external API and by defining a taxonomy (as category) and icons as custom entity, but that's not part of the current branch.

Here is the screenshot of a widget during adding/editing an entity with the SVG icon field added:

Link to project:
https://www.drupal.org/project/svg_icon_field โ†’

๐Ÿ“Œ Task
Status

Needs review

Component

module

Created by

๐Ÿ‡ต๐Ÿ‡ฑPoland dawid_nawrot

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024