Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

DSFR for Drupal

59 sites Security covered Drupal 10–11 Dsfr4drupal ecosystem
View on drupal.org

This is a Drupal base theme that provides reusable components following the French Design System (DSFR). It offers extensive configuration options for features like themes, logos, and menus, and can be integrated into new or existing websites.

The DSFR for Drupal base theme provides a full set of reusable DSFR components using the Single Directory Components (SDC) approach.
This base theme must be extended by a sub-theme. The theme DSFR for Drupal can easily be integrated in your website, and is compatible with any site building strategy.

DSFR for Drupal also includes a complete DSFR configuration settings, including: Marianne logo label, light and dark themes, mourning mode, menu display (standard or mega-menu)…

DSFR for Drupal base theme can be used both on an existing site (with a gradual DSFR components integration strategy) or on a new site (full DSFR design building).

Legal Considerations

The use of the DSFR is strictly reserved for French State administration and operators only.

Please read the following page for more information: Scope of DSFR use (in French).

Requirements

This theme requires the following modules:

Components

The DSFR for Drupal theme contains more than 50 single directory components, including the full list of official DSFR components.

If you would like to know more about the French Design System, please read: Full DSFR components list (in French).

More information about Single Directory Components.

Utilities

Breakpoints

Native DSFR breakpoints list (mainly for responsive images).

Layout

Native DSFR layouts with ready to use grid system for Layout Builder.

How to install

Manual installation

  1. Download the library from https://github.com/GouvernementFR/dsfr
  2. Place the library in the root libraries folder (/libraries/dsfr).

Finally, enable and set as default "DSFR for Drupal" theme in the Drupal theme list.

Composer-based installation

Method 1 - using composer-merge-plugin (recommended for versions 2.x of the theme)

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]/themes/contrib/dsfr4drupal/composer.libraries.json"
            ]
        }
    }

Replace [web-root] with the value of your web root folder (usually web).
Run composer require drupal/dsfr4drupal gouv/dsfr,
the DSFR 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": "gouv/dsfr",
                "version": "1.15.1",
                "type": "drupal-library",
                "dist": {
                    "url": "https://registry.npmjs.org/@gouvfr/dsfr/-/dsfr-1.15.1.tgz",
                    "type": "tar"
                },
                "require": {
                  "composer/installers": "~1.0 || ~2.0"
                }
            }
        }
    ]

Run composer require drupal/dsfr4drupal gouv/dsfr, the DSFR library will be installed to the libraries folder automatically as well.

Configuration

Several configurations options are listed in the theme settings.
Go to the appearance settings page to customize your theme.

Release management

  • The 1.6.x releases include DSFR up to version 1.15.1.
    This project version is in minimal maintenance mode and will only receive corrective releases; it will not receive DSFR version upgrades.
  • The 2.x releases incorporate the new object-oriented hook implementations. Consequently, they are not compatible with Drupal core versions earlier than 11.3. Only this project version will continue to be actively maintained.

Relative Modules

For a better experience, we invite you to use these modules in addition to the theme DSFR for Drupal:

Sponsors


Délégation à l'information et la communication (DICOM)

Depends on

Dependencies of the latest stable release

  • inline_form_errors Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
32
Tracked since
Oct 2024
Latest release
1 month ago
Releases (12 mo)
15 ▼ from 17
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.6.3 Stable 10–11 Jul 28, 2026
2.x-dev Dev 11 Jul 28, 2026
2.0.0 Stable 11 Jul 28, 2026
1.6.2 Stable 10–11 Jul 24, 2026
1.6.1 Stable 10–11 Jul 24, 2026
1.6.0 Stable 10–11 Jul 23, 2026
1.5.8 Stable 10–11 Jun 5, 2026
1.5.7 Stable 10–11 May 13, 2026
1.5.6 Stable 10–11 Apr 30, 2026
1.5.5 Stable 10–11 Feb 13, 2026
1.5.4 Stable 10–11 Nov 4, 2025
1.5.3 Stable 10–11 Oct 30, 2025
1.5.2 Stable 10–11 Oct 29, 2025
1.5.1 Stable 10–11 Sep 29, 2025
1.5.0 Stable 10–11 Sep 16, 2025
1.4.4 Stable 10–11 Aug 22, 2025
1.4.3 Stable 10–11 May 27, 2025
1.4.2 Stable 10–11 May 15, 2025
1.4.1 Stable 10–11 May 14, 2025
1.4.0 Stable 10–11 Apr 11, 2025
1.3.3 Stable 10–11 Feb 28, 2025
1.3.2 Stable 10–11 Feb 10, 2025
1.3.1 Stable 10–11 Jan 31, 2025
1.3.0 Stable 10–11 Jan 21, 2025
1.2.9 Stable 10–11 Jan 21, 2025
1.2.8 Stable 10–11 Jan 8, 2025
1.2.7 Stable 10–11 Dec 13, 2024
1.2.6 Stable 10–11 Dec 12, 2024
1.2.5 Stable 10–11 Nov 14, 2024
1.2.4 Stable 10–11 Oct 31, 2024
1.2.3 Stable 10–11 Oct 17, 2024
1.2.2 Stable 10–11 Oct 2, 2024