re
react-elements
npm i react-elements
re

react-elements

A library of reusable React components.

by Will Dady

1.3.1 (see all)License:MITTypeScript:Not Found
npm i react-elements
Readme

React Elements

A library of reusable React components consisting of the following:

<Button />
<ButtonGroup />
<ColorPicker />
<LoadingSpinner />
<Pagination />
<Panel />
<ProgressBar />
<Switch />
<Tabs />
<VimeoVideo />
<YoutubeVideo />

DEMO: http://willdady.github.io/react-elements/

Installation

npm install --save react-elements

Usage

To include a component in your project simply import the component.

import Switch from 'react-elements/dist/Switch';

Component stylesheets

Most components have an accompanying stylesheet. When using a component be sure to include the component's stylesheet in your build otherwise the component will fail to render correctly.

Stylesheets are written using BEM syntax and all classes are prefixed with re-.

Pre-built CSS files can be found in dist/css. Source SCSS can be found in the styles directory in the project's root.

Button

Please note the <Button /> component composes the <LoadingSpinner /> component so be sure to include both component's stylesheets.

Downloads/wk

37

GitHub Stars

35

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

5

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
1.3.1
latest
6yrs ago
0.3.1
0.3.1
8yrs ago
0.3.0
0.3.0
8yrs ago
0.2.0
0.2.0
8yrs ago
No alternatives found
No tutorials found
Add a tutorial