My place in the WordPress community
- I have had a wordpress.org account since 2006.
- I contributed to WordPress core for versions 7.0 and 7.1.
- I maintain 30 plugins on wordpress.org.
- I organise and speak at WordCamps.
- I have attended every WordCamp Europe from 2017 to 2026.
The first question on a DSFR brief is not technical. The French State Design System has terms of use that say who may use it, and a Lyon team should read them before the first component. I am not a lawyer. This page quotes the official terms and the official repository, then shows how the files fit a Next.js project.

Lyon city hall, the Hôtel de Ville, framed by the Terreaux gallery. Picture by Romainbehar, released as CC0, hosted on Wikimedia Commons.
What is the DSFR?
The Système de Design de l’État (DSFR) is, in the words of the official repository, a set of HTML, CSS and JavaScript web components for the project teams of public websites, meant for accessible digital interfaces. The Service d’Information du Gouvernement (SIG) develops, maintains and manages it.
The documentation site is systeme-de-design.gouv.fr. It sits behind a bot check that refused my automated requests, so I read the repository copies of the README, the licence and the terms of use instead. The terms are in French, and the quotes below are my translations.
Who may use the DSFR?
The repository README carries a warning that use is forbidden outside State websites. Its content, in short:
- The code is under the Etalab 2.0 licence, except elements under specific conditions such as the Marianne fonts.
- Use is bound by terms of use.
- Because the DSFR marks the visual identity of the State, it must not be used by entities outside the administration, and its replicability is limited outside a .gouv.fr domain name.
- In case of misleading or fraudulent use, the State reserves the right to act to stop it.
The terms of use (version 1.0.1, dated 20 July 2026) go further:
- The sole purpose of the resources is to design, develop and publish sites with the .gouv.fr extension, or mobile applications.
- The fundamentals, meaning brand block, colours, typefaces, icons and the interactive elements, cannot be modified.
- Use outside the institutional framework may create confusion with an official public service, and the terms point to article 433-13 of the French penal code on exercising an activity in conditions that create confusion with a public function.
- For State operators, use must fall within their public service mission, follow an approval with their supervising ministry and run on a site under a gouv.fr domain.
- Use must not create direct or indirect confusion with a public service, an administration or an official government site.
For a private Lyon company the answer is plain: the DSFR is not for its marketing site, its SaaS or its shop. A neighbouring look is a design risk, and the terms describe the legal one.
What about agencies and freelancers?
The terms define a “State user” as anyone working at or for a State service, and they say that communication agencies or other technical providers working on behalf of a State service have the same rights and obligations over the resources as the State service itself. So a provider can build with the DSFR when the client is a State service. The client carries the approval duty.
How does the approval procedure work?
The terms state that every redesign or creation of a State website or mobile application is subject to the approval of the SIG:
- An approval in principle, requested before the work starts, through an online form that the terms link to.
- A final approval, requested before the site or application goes live.
- The terms add that the procedure applies even when the project is urgent.
The terms also require State sites and applications to meet the quality requirements of circular 6411-SG of 7 July 2023, including the RGS security reference and the RGAA accessibility reference.
Is a city, département or region covered?
The terms I read define State services as central administrations, their directorates, interministerial delegations, prefectures, embassies and decentralised services. They define State operators through the annex of the finance bill. I found no mention of local authorities in the text. A client such as a city or metropolitan body should ask the SIG whether the DSFR is open to it, and a project should not start on the assumption that it is.
What do the official files contain?
The npm registry listed @gouvfr/dsfr at version 1.15.4 on 4 December 2026, published on 12 October 2026, with the licence field set to etalab-2.0. The README describes the structure:
distholds the compiled CSS and JavaScript.srcholds the Sass and JavaScript sources of the components.exampleholds HTML snippets and page models.standaloneholds elements usable without the DSFR.
The README tells you to install with npm create @gouvfr/dsfr@latest, which asks you to accept the terms before anything is installed. In CI the variable DSFR_ACCEPT_LICENSE=1 accepts them without a prompt. That is a legal act, so a pipeline should set it only for a project that passed the questions above.
The minimal page in the README uses these pieces:
<html lang="fr" data-fr-scheme="system">, where the scheme can besystem,lightordarkdsfr.min.cssandutility/utility.min.css- a small inline module script in the head, which the README says prevents a flash when dark mode loads
dsfr.module.min.jsand anomodulefallback at the end of the bodyfonts,iconsandfaviconfolders at the paths the CSS expects
The README says the DSFR components start themselves from their HTML structure, and that a JavaScript API exists for programmatic control. CSS can also be imported in parts: core, scheme and component, or single components with their listed dependencies.
How does the DSFR fit the Next.js App Router?
The DSFR is plain HTML, CSS and JavaScript, so the fit is mostly asset wiring. These Next.js facts come from the official documentation:
- Global CSS is imported in the root layout, for example
app/layout.tsx. - Files in the
publicfolder are served from the base URL, withCache-Control: public, max-age=0by default. Fonts and icons from the package can be copied there. next/scripthas abeforeInteractivestrategy for scripts that must run before hydration. Such scripts go into the root layout and are injected into the head.- The default strategy is
afterInteractive.
// app/layout.tsx
import './dsfr/dsfr.min.css' // dist files copied from the package, with fonts and icons beside them
import Script from 'next/script'
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="fr" data-fr-scheme="system" suppressHydrationWarning>
<body>
{children}
<Script src="/dsfr/dsfr.module.min.js" type="module" strategy="afterInteractive" />
</body>
</html>
)
}The README’s dark mode snippet sets attributes on the html element before paint. React documents suppressHydrationWarning as an escape hatch that silences attribute mismatches one level deep. That is how the sketch above keeps the warning away, and whether you want the dark mode script at all is a product decision.
One point is my own engineering judgement and not a documented rule: DSFR JavaScript changes the DOM of components such as modals and menus, while React owns that DOM. Test each interactive component in staging, and prefer the documented JavaScript API to custom DOM code.
What do I check before a DSFR build starts?
- Is the client a State service, and does the site run on a gouv.fr domain?
- Has the SIG given its approval in principle, and who requests the final one?
- Do the RGAA and RGS requirements have an owner and a test plan?
- Who accepts the terms of use in CI, and where is that decision recorded?
- Are the Marianne fonts used, and under which conditions?
Where does a DSFR project start?
It starts with the approval, not the repository. If you are a State service or a provider working for one, send the approval status, the domain and the pages in scope through the contact page. If the client is a private company in Lyon, the useful reply is a design brief that does not imitate the State look. A written estimate for either case is free, and general Next.js work for French-language sites is described on the Next.js developer page.
Selected projects
Examples of my work.
Corporate Website: neolight.pl
Neolight.pl is an advanced project in my portfolio as a WordPress developer, realised as an advertising portal supporting LED screen campaigns in Poland. Aro...
Corporate Website: ogloszenia.osemka.pl
Ogloszenia.osemka.pl is a classifieds portal that operated as a subdomain of the social platform Osemka.pl, designed and implemented in 2006-2007. The goal w...
Corporate Website: olsztyn.com.pl
Olsztyn.com.pl is one of the key projects in my WordPress developer portfolio, serving as a comprehensive city portal dedicated to the residents of Olsztyn. ...
Need this service: Next.js developer in Lyon?
Describe your project by e-mail. I reply within 24 hours.
Describe your projectExplore other WordPress services and knowledge base
Migration to Astro, Next.js, and headless WordPress.
WooCommerce sync with ERP and wholesale systems.
Business process automation around WordPress and company systems.
Library of concrete automation use cases.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Related categories
Supporting articles

Six to sixteen weeks for typical engagements, with a four-phase shape: discovery, scoping, build and cutover, tuning. The variables are catalogue size, integration count, URL preservation, and editorial team readiness, not framework choice.

A definitive 4-year Total Cost of Ownership (TCO) analysis, real-world Core Web Vitals benchmarks, Astro 7 GraphQL APQ architecture, and a 10-point executive decision matrix for choosing between decoupled and traditional WordPress.

The Shopify Plus vs WooCommerce headless decision in 2026 is no longer a binary "platform vs custom" trade-off. Both can run headless, both integrate AI, both ship at the edge. The real axes are control, total cost over five years, and exit strategy. This article walks the matrix with confirmed platform facts.