nexxtway / react-rainbow

🌈 React Rainbow Components. Build your web application in a snap.
https://react-rainbow.io
MIT License
1.79k stars 112 forks source link
building-block components designer developer javascript javascript-library library rainbow react react-components react-rainbow-components typescript ui-library web-application


React Rainbow Component logo

React Rainbow

React Rainbow is a collection of components that will reliably help you build your application in a snap. Give it a hack and let us know what you think.

[![CircleCI](https://circleci.com/gh/nexxtway/react-rainbow/tree/master.svg?style=svg)](https://circleci.com/gh/nexxtway/react-rainbow/tree/master) [![npm version](https://badge.fury.io/js/react-rainbow-components.svg)](https://badge.fury.io/js/react-rainbow-components) [![components](https://img.shields.io/bit/collection/total-components/nexxtway/react-rainbow?color=%236c5ce7)](https://bit.dev/nexxtway/react-rainbow?namespaces=__global__) [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io/) [![Known Vulnerabilities](https://snyk.io/test/github/nexxtway/react-rainbow/badge.svg)](https://snyk.io/test/github/nexxtway/react-rainbow) [![Coverage Status](https://coveralls.io/repos/github/nexxtway/react-rainbow/badge.svg?branch=master)](https://coveralls.io/github/nexxtway/react-rainbow?branch=master) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Maintainability](https://api.codeclimate.com/v1/badges/e71caf3c07fa5a0bd8cc/maintainability)](https://codeclimate.com/github/nexxtway/react-rainbow/maintainability) [![CLA assistant](https://cla-assistant.io/readme/badge/nexxtway/react-rainbow)](https://cla-assistant.io/nexxtway/react-rainbow) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/react-rainbow-components/community?source=orgpage)

✨ Features


🖥 Environment Support

Firefox
Firefox
Chrome
Chrome
Safari
Safari
last 2 versions last 2 versions last 2 versions


📦 Installation

React Rainbow Components is available as an npm package.

$ yarn add react-rainbow-components
or
$ npm install react-rainbow-components --save


⌨️ Usage

Here is a quick example to get you started. It's all you need:

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-rainbow-components';

function App() {
    return <Button label="Hello World!" variant="brand" onClick={() => alert('Hello World!')} />;
}

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

Yes, it's really all you need to get started as you can see in this live and interactive demo:

Edit Button

You can also use individual component from bit:

import React from 'react';
import ReactDOM from 'react-dom';
import Button from '@bit/nexxtway.react-rainbow.button';

function App() {
    return <Button label="Hello World!" variant="brand" onClick={() => alert('Hello World!')} />;
}

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


⌨️ Running locally

  1. git clone https://github.com/nexxtway/react-rainbow.git
  2. cd react-rainbow
  3. yarn install
  4. yarn start
  5. navigate to http://localhost:6060/


💬 Questions

For how-to questions and other non-issues, please use our Gitter Chat instead of Github issues.

https://gitter.im/react-rainbow-components/community


🖥 Examples

Are you looking for an example project to get started?

We host some here.


🤝 Contributing

We are excited that you are interested in contributing to this project!

You can help us improve React Rainbow Components, the first step to begin collaboration is to create an issue before submitting a pull request. It's always good to file an issue, so we can discuss the details of your approach or suggestion.

See more details about how to collaborate


⚖️ License

The MIT license governs your use of React Rainbow Components.