UNPKG

react-ions

Version:

An open source set of React components that implement Ambassador's Design and UX patterns.

34 lines (20 loc) 1.41 kB
# React{ions} [ ![Circle CI Status for GetAmbassador/react-ions](https://circleci.com/gh/GetAmbassador/react-ions.svg?style=shield&circle-token=d8458a09c88aa541c37a7d45b471f48c14cb6a71)](https://circleci.com/) **React{ions}** is a suite of React components that implement Ambassador's Design and UX patterns. They are designed to be re-usable and composable across large-scale web applications. Check out our [documentation site](http://reactions.getambassador.com/) for live examples. ## Installation Ambassador's React{ions} is available as an [npm package](https://npmjs.com/react-ions). `$ npm install react-ions` ## Prerequisites React{ions} currently requires React 15.1+. We use CSS Modules by default to import stylesheets written in SASS. In case you want to import the components already bundled with CSS, your module bundler should be able to require these SASS modules. ## Example Webpack App Here is an example [Rect{ions} Webpack app](https://github.com/GetAmbassador/reactions-webpack-example) to get you started. ## Basic Usage In this minimal example, we import a Button with styles already bundled: import React from 'react' import Button from 'react-ions/lib/Button' <Button>I am a Button</Button> Live examples and more info [documentation site](http://reactions.getambassador.com/components). ## License This project is licensed under the terms of the [MIT license](LICENSE)