Skip to content

0ctanium/react-dsfr

This branch is 1429 commits behind codegouvfr/react-dsfr:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

41173de Β· Dec 7, 2022
Dec 1, 2022
Dec 5, 2022
Dec 7, 2022
Dec 6, 2022
Dec 6, 2022
Nov 27, 2022
Nov 18, 2022
Nov 27, 2022
Dec 4, 2022
Nov 27, 2022
Sep 20, 2022
Dec 5, 2022
Sep 20, 2022
Dec 4, 2022
Dec 7, 2022
Nov 18, 2022
Nov 4, 2022
Dec 5, 2022

Repository files navigation

πŸ‡«πŸ‡· French State Design System React integration πŸ‡«πŸ‡·

Documentation website - Playground

πŸ—£οΈ Le 9 dΓ©cembre (ce vendredi) de 11h Γ  12h30, venez assister Γ  la prΓ©sentation de la librairie et poser vos questions!
πŸ‘‰Lien du salon ateliers BlueHatsπŸ‘ˆ

This module is a wrapper/compatibility layer for @gouvfr/dsfr, the vanilla JS/CSS implementation of the DSFR.

For TypeScript and JavaScript projects.

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

# Starting storybook
yarn storybook
# You can run 'npx tsc -w -p src' on another terminal for enabling hot reloading.

# Starting test apps
yarn start-cra  # For testing in in a Create React App setup
yarn start-next # For testing in a Next.js setup
yarn start-vite # For testing in a Vite setup

# Run all unit test (test/runtime):
yarn test
# Run only test/runtime/cssVariable.test.ts (for example)
npx vitest -t "Resolution of CSS variables"

# Debugging while unit testing

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.

About

πŸ‡«πŸ‡· DSFR React component library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.9%
  • JavaScript 2.2%
  • HTML 0.9%