Reango Design System


Keywords
design system, reango, reango design system, react, ui
License
Unlicense
Install
npm install rds@0.11.2

Documentation

rds

Reango Design System - A React design component library

NPM JavaScript Style Guide

Install

npm install --save rds

Usage

In order to make use of this Design System, you need to provide a Theme Context as shown below:

import React, { Component } from 'react'
import { ThemeProvider } from 'styled-components'

// Import every RDS component or constant like this
import {
  // React component
  Card,
  // Constant
  ThemesNames
} from 'rds'

// IMPORTANT: Import RDS styles (at index file preferently)
import 'rds/dist/index.css'

const MyComponent = () => {
  const theme = {
      main: '#159DE0',
      secondary: '#35E4D7',
      scheme: ThemesNames.LIGHT,
  }
  return (
    <ThemeProvider theme={theme}>
      <Card>Some nice content here</Card>
    </ThemeProvider>
  )
}

Docs

https://gabrielmolfinok.github.io/rds