🇫🇷 French State Design System React component library 🇫🇷
Documentation
This module is a wrapper/compatibility layer for @gouvfr/dsfr, the vanilla JS/CSS implementation of the DSFR.
This module is a product of Etalab's Free and open source software pole.
I'm working full time on this project. You can expect rapid development. 🚀
Get started
Development
Here are instructions for contributing, if you are looking to use @codegouvfr/react-dsfr
heads over to the documentation page.
git clone https://github.com/codegouvfr/react-dsfr
cd react-dsfr
yarn
yarn build
npx tsc -p src/bin -w & npx tsc -p src -w
yarn start_cra
yarn start_next
yarn start_vite
yarn test
npx vitest -t "Resolution of CSS variables"
When you want to import assets from the ./dsfr/
directory
you must assume it's located in ./src/dsfr
because it's where
it's going to be relative to the transpiled JS files.
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.