All Projects → AxaGuilDEv → react-toolkit

AxaGuilDEv / react-toolkit

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

Programming Languages

typescript
32286 projects
SCSS
7915 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to react-toolkit

Awesome Design Systems
A curated list of bookmarks, resources and articles about design systems focused on developers.
Stars: ✭ 222 (+149.44%)
Mutual labels:  storybook, design-system
react-uswds
USWDS 3.0 components built in React
Stars: ✭ 108 (+21.35%)
Mutual labels:  storybook, design-system
Componentdriven.org
Static site and content for Component Driven
Stars: ✭ 237 (+166.29%)
Mutual labels:  storybook, design-system
Qui
A Vue.js design-system for Web.
Stars: ✭ 165 (+85.39%)
Mutual labels:  storybook, design-system
Stardust
🎨Tiller Design System
Stars: ✭ 19 (-78.65%)
Mutual labels:  storybook, design-system
Learnstorybook.com
Static site and content for Storybook tutorials
Stars: ✭ 2,291 (+2474.16%)
Mutual labels:  storybook, design-system
shared-react-components-example
An example of a mono-repository of shared React components libraries!
Stars: ✭ 85 (-4.49%)
Mutual labels:  storybook, design-system
Storybook Design Token
The Storybook Design Token Addon allows you to generate design token documentation from your stylesheets.
Stars: ✭ 252 (+183.15%)
Mutual labels:  storybook, design-system
cuida
A design system built by Sysvale, using storybook and Vue components
Stars: ✭ 16 (-82.02%)
Mutual labels:  storybook, design-system
orfium-ictinus
This repo will include the building blocks to create the Orfium Parthenons to come ...
Stars: ✭ 20 (-77.53%)
Mutual labels:  storybook, design-system
React95
A React components library with Win95 UI
Stars: ✭ 1,779 (+1898.88%)
Mutual labels:  storybook, design-system
mod-uk-design-system
Build web applications that meet the Defence Digital service standards
Stars: ✭ 78 (-12.36%)
Mutual labels:  storybook, design-system
Devtools Ds
UI components, libraries, and templates for building robust devtools experiences.
Stars: ✭ 105 (+17.98%)
Mutual labels:  storybook, design-system
smores-react
🍭 Marshmallow React components
Stars: ✭ 34 (-61.8%)
Mutual labels:  storybook, design-system
Matchbox
🔥 A react UI component library
Stars: ✭ 58 (-34.83%)
Mutual labels:  storybook, design-system
Learnstorybook Code
Code for Learn Storybook
Stars: ✭ 249 (+179.78%)
Mutual labels:  storybook, design-system
sodium-ui
Sodium is a simple, modular and customizable web component library to build elegant and accessible UI pieces for your React Application.
Stars: ✭ 23 (-74.16%)
Mutual labels:  storybook, design-system
Vuesion
Vuesion is a boilerplate that helps product teams build faster than ever with fewer headaches and modern best practices across engineering & design.
Stars: ✭ 2,510 (+2720.22%)
Mutual labels:  storybook, design-system
ui-kit
D2iQ UI Kit
Stars: ✭ 29 (-67.42%)
Mutual labels:  storybook, design-system
react-ecommerce
E-commerce monorepo application using NextJs, React, React-native, Design-System and Graphql with Typescript
Stars: ✭ 136 (+52.81%)
Mutual labels:  storybook, design-system

@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 component is 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 for intricate technologies, just pragmatism.

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

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

html+css documentation website react storybook website

Getting Started

You can either install everything and use only what you need. If you do that you will be able to use tree shaking to have a smaller bundle. However, you will need to import all the styles and not only the style related to your component.

npm install @axa-fr/react-toolkit-all --save
import React from 'react';

// Load only the component alert (smaller bundle size)
import { Alert } from '@axa-fr/react-toolkit-all/component/alert';

// Load all the toolkit (bigger bundle size)
import { Alert } from '@axa-fr/react-toolkit-all';

import '@axa-fr/react-toolkit-all/dist/style/af-toolkit-core.scss';

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

Or you can install only the components you need:

npm install @axa-fr/react-toolkit-alert --save
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

List of supported browsers

Here is the list of browsers we tested this toolkit on:

  • Chrome 84+
  • Firefox 79+
  • Microsoft Edge 85+
  • Internet Explorer 11
  • Safari 13.1+
  • Opera 71+

Contribute

Roadmap

  • Update general documentation
  • Migrating to TypeScript all components
  • Fix the issues and clean code. Make it simpler, faster, lighter
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].