Skip to content

The React.js implementation of the lightelligence design-system

License

Notifications You must be signed in to change notification settings

lightelligence-io/react

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d960454 · Nov 27, 2019

History

66 Commits
Oct 8, 2019
Nov 27, 2019
Nov 8, 2019
Nov 27, 2019
Nov 27, 2019
Jun 21, 2019
Oct 10, 2019
Oct 8, 2019
Aug 1, 2019
Jun 21, 2019
Nov 8, 2019
Nov 27, 2019
Jun 21, 2019
Nov 27, 2019
Aug 1, 2019
Aug 28, 2019
Nov 27, 2019
Nov 27, 2019
Nov 27, 2019

Repository files navigation

logo

React

Build Status Code Coverage Dependencies npm (scoped)

The Lightelligence design system React Components

Installation

npm install @lightelligence/react

Features

Lightelligence React is a set of React components, styled according to our design system. It is a React.js implementation of Lightelligence Styles.

Usage

Make sure to include the bundled CSS in your React Application as well as wrapping your content in <RootContainer /> component.

import React from 'react';
import ReactDOM from 'react-dom';
import '@lightelligence/react/dist/index.css';
import { Button, RootContainer, COLOR_PRIMARY } from '@lightelligence/react';

const App = () => (
  <RootContainer>
    <Button color={COLOR_PRIMARY}>Hello World</Button>
  </RootContainer>
);

ReactDOM.render(<App />, document.getElementById('root'));

Check out the API reference to see the full documentation.

License

MIT