Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides fields to select icons and pictograms from the French government's DSFR design system, allowing configuration of available categories. It also integrates with CKEditor for easy insertion and supports adding custom pictograms.

Provides 2 new types of fields allowing the selection of icons and pictograms from the "Design Système de l'État" (DSFR (in French)).

For each field instance, you can choose which category of icon (or pictogram) to activate.
Each field instance can be configured to limit the selection to one or more specific categories of icon (or pictogram).

It is also possible to insert icons and pictograms directly from CkEditor.
Fully compatible with CKEditor, providing two additional buttons in the editor toolbar for inserting icons and pictograms.

Icon and pictogram detections are automatic, there is no additional action when you update the DSFR library!

A sub-module also allows the contribution of personalized pictograms via a new media type "Pictogram", created automatically when the sub-module is installed.

Third-party library

This module integrates the https://fonticonpicker.github.io/ (using jQuery) library.

How to install

Manual installation

  1. Download the library from https://fonticonpicker.github.io/
  2. Place the library in the root libraries folder (/libraries/fonticonpicker).

Composer-based installation

Method 1 - using composer-merge-plugin (recommended)

This method has the advantage of placing the maintenance of the plugin version on the hands of the module maintainers. To add the composer-merge-plugin, run
composer require wikimedia/composer-merge-plugin.

Then, update the extra section of the root composer.json file as follows:

    "extra": {
        "merge-plugin": {
            "include": [
                "[web-root]/modules/contrib/dsfr4drupal_picker/composer.libraries.json"
            ]
        }
    }

Replace [web-root] with the value of your web root folder (usually web).
Run composer require drupal/dsfr4drupal_picker fonticonpicker/fonticonpicker,
the FontIconPicker library will be installed to the libraries folder automatically.

Method 2 - using a custom repository

Copy the following into the root composer.json file's repository key.

    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "fonticonpicker/fonticonpicker",
                "version": "v3.1.1",
                "type": "drupal-library",
                "dist": {
                    "url": "https://github.com/fontIconPicker/fontIconPicker/releases/download/v3.1.1/fontIconPicker.zip",
                    "type": "zip"
                },
                "require": {
                  "composer/installers": "~1.0 || ~2.0"
                }
            }
        }
    ]

Run composer require drupal/dsfr4drupal_picker fonticonpicker/fonticonpicker, the FontIconPicker library will be installed to the libraries folder automatically as well.

A requirement message popup in status report if library is not correctly installed.

Suite of modules

This module is part of a set of projects to implement DSFR (in French) in Drupal.

It is strongly recommended to use this module in addition to the base DSFR for Drupal theme.

Useful links

Activity

Total releases
3
First release
Aug 2025
Latest release
8 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Oct 29, 2025
1.0.0 Stable Aug 13, 2025
1.x-dev Dev Aug 7, 2025