Home

Awesome

React CSS Loaders

<a href="https://travis-ci.org/LucasBassetti/react-css-loaders"><img src="https://travis-ci.org/LucasBassetti/react-css-loaders.svg?branch=master" alt="Travis CI" /></a> <a href="https://badge.fury.io/js/react-css-loaders"><img src="https://badge.fury.io/js/react-css-loaders.svg" alt="npm version"> Coverage Status

A collection of pure CSS React loading components. Based on Luke Haas css-loaders project.

<a href="https://lucasbassetti.com.br/react-css-loaders/"> <img src="https://cloud.githubusercontent.com/assets/1014326/26028622/d4de8bbe-37fa-11e7-95c4-a58c2779f4a3.gif" width="600" /> </a>

Contents

Getting Start

npm install react-css-loaders --save

Usage

  import { BarLoader } from 'react-css-loaders';
  ...
  <BarLoader />
  ...

Components

BarLoader

Usage

<BarLoader />

Properties
NameTypeDefault
colorPropTypes.string#000
durationPropTypes.number1
sizePropTypes.number11

BubbleLoader

Usage

<BubbleLoader />

Properties
NameTypeDefault
colorPropTypes.string#000
durationPropTypes.number1.8
sizePropTypes.number10

BubbleSpinLoader

Usage

<BubbleSpinLoader />

Properties
NameTypeDefault
colorPropTypes.string#000
durationPropTypes.number1.3
sizePropTypes.number20

CometSpinLoader

Usage

<CometSpinLoader />

Properties
NameTypeDefault
colorPropTypes.string#000
durationPropTypes.number1.7
sizePropTypes.number90

CylinderSpinLoader

Usage

<CylinderSpinLoader />

Properties
NameTypeDefault
colorPropTypes.string#000
durationPropTypes.number1.1
sizePropTypes.number25

ResizeSpinLoader

Usage

<ResizeSpinLoader />

Properties
NameTypeDefault
backgroundPropTypes.string#000
colorPropTypes.string#000
durationPropTypes.number2
sizePropTypes.number11

RotateSpinLoader

Usage

<RotateSpinLoader />

Properties
NameTypeDefault
colorPropTypes.string#000
durationPropTypes.number1.1
sizePropTypes.number10

SpinLoader

Usage

<SpinLoader />

Properties
NameTypeDefault
backgroundPropTypes.string#fff
colorPropTypes.string#000
durationPropTypes.number1.4
sizePropTypes.number10

Authors

Lucas Bassetti
Lucas Bassetti

See also the list of contributors who participated in this project.

How to Contribute

Please check the contributing guide

License

MIT · Lucas Bassetti