Giter VIP home page Giter VIP logo

react-dsfr's Introduction

πŸ‡«πŸ‡· 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.

image

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

# Starting storybook
yarn storybook

# Starting test apps
yarn start-cra  # For testing in a Create React App setup
yarn start-vite # For testing in a Vite setup
yarn start-next-pagesdir # For testing in a Next.js 13 PagesDir setup (the default setup)
yarn start-next-appdir # For testing in a Next.js 13 AppDir 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

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.

Keep in mind that the project has been released recently so it's only natural that there is only a few projects in production using it.

react-dsfr's People

Contributors

garronej avatar enguerranws avatar lsagetlethias avatar ddecrulle avatar gary-van-woerkens avatar marchufschmitt avatar maximallain avatar marc-gavanier avatar clementnumericite avatar pprev94 avatar sylvainlg avatar clement-duport avatar ismattcoding avatar hugues-m avatar damienguezou avatar desoindx avatar sutter avatar ocruze avatar bioss54 avatar flexbox avatar brianrid avatar lonelil avatar tvbv avatar slafayign avatar pom421 avatar 0ctanium avatar nkokla avatar jdirand avatar grafikart avatar jjpxiii avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.