GithubHelp home page GithubHelp logo

antoineblancke / react-toolkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from axafrance/react-toolkit

0.0 1.0 0.0 54.77 MB

Flexible components html + css + react using BEM convention. Maybe, you can call it "Design System" !

Home Page: https://axaguildev.github.io

License: MIT License

JavaScript 52.22% CSS 0.03% TypeScript 20.07% HTML 0.13% Handlebars 0.09% SCSS 27.45%

react-toolkit's Introduction

@axa-fr/react-toolkit

Build status Quality Gate Reliability Security Code Corevage lerna Twitter

About

A set of independent components. Awesome library based on HTML and CSS using BEM convention with the JavaScript ReactJS implementation. Each components are autonomous and extensible. Pick and use only what you need!

How React-toolkit does CSS isolation?

Only by using BEM (Block Element Modifier) CSS convention. No need of the intricate technologies, just pragatism.

Components are simple to use (just drag and drog it), simple to customize (by using CSS modifier) to your own need. Each component may evaluate internally (HTML, CSS, JS) and minimize an impact on your application.

You can easily build a new app from scratch or integrate some component into existing application.

html+css documentation website react storybook website

Getting Started

Install what you need

npm install @axa-fr/react-toolkit-alert --save

Use only what you need

import React from 'react';
import Alert from '@axa-fr/react-toolkit-alert';
import '@axa-fr/react-toolkit-alert/dist/alert.scss';

const MyAlertComponent => () => (
<Alert
    icon="ok"
    title="This is an alert"
  />
)

Packages

Concept

Each component should be autonomous (HTML + CSS + JS) and extensible.

How Does It Work

  • HTML/CSS :

    • BEM convention is used in order to break CSS cascading problem
    • SCSS and CSS files are avalaible for every component and can be overrided or extended
    • HTML/CSS Documentation
  • React :

    • Components are stateless by default
    • Some Higher Order Components (HOC) are stateful but feel free to use the stateless one if it fits your use case
    • React documentation

Contribute

Roadmap

  • Update general documentation
  • Migrating to TypeScript all components
  • Fix the issues and clean code. Make it simpler, faster, lighter

react-toolkit's People

Contributors

guillaumechervetaxa avatar xballoy avatar samuel-gomez-axa avatar dependabot-preview[bot] avatar arnaudforaison avatar guillaume-chervet avatar julienbirgand avatar cleclemi28 avatar youf-olivier avatar barry-thierno avatar oussamahamdaoui avatar triathete23 avatar johnmeunier avatar hamzahamidi avatar gcruchon avatar cyril-lakech avatar antoine-regembal avatar bernard-arnaud avatar sebo1000 avatar fdescamps avatar gparquet avatar jlou avatar debaerdm avatar samuel-gomez avatar tbmc avatar andriamiravaka-rado avatar croquet-mickael avatar dependabot[bot] avatar vincent-ducrocq-axa avatar

Watchers

James Cloos 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.