🇫🇷 French State Design System React toolkit 🇫🇷
Components documentation
-
Guides
-
Playground
👉 Version française du README ici.
WARNING: This Design System is only meant to be used for official French's public service websites.
Its main purpose is to make it easy to identify governmental websites for citizens. See terms.
This module is an advanced toolkit that leverages @gouvfr/dsfr, the vanilla JS/CSS implementation of the DSFR.
While this module is written in TypeScript, using TypeScript in your application is optional (but recommended as it comes with outstanding benefits to both you and your codebase).
💡 Need ready to use, DSFR compliant login and register pages? Checkout keycloak-theme-dsfr.
🚀 Get started 🚀
Governance
This module is a product of Etalab's Free and open source software pole.
This project is co-maintained by public servants from various French administrations:
Development
git clone https://github.com/codegouvfr/react-dsfr
cd react-dsfr
yarn
yarn storybook
yarn start-cra
yarn start-vite
yarn start-next-pagesdir
yarn start-next-appdir
yarn test
npx vitest -t "Resolution of CSS variables"
Want to contribute?
Thank you! See the contribution guide.
How to publish a new version on NPM, how to release a beta version
This repo was bootstrapped form garronej/ts-ci have a look at the
documentation of this starter for understanding the lifecycle of this repo.
Use-cases
A few projects that use @codegouvfr/react-dsfr
.