Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/venushadilshan/react-spinner-animated

Animated, Customizable Spinner/Loader Library for React
https://github.com/venushadilshan/react-spinner-animated

component loader loading react react-loader-spinner react-spinner reactjs spinner

Last synced: 2 months ago
JSON representation

Animated, Customizable Spinner/Loader Library for React

Awesome Lists containing this project

README

        

# react-spinner-animated

> Loader/Spinner Library for React

[![NPM](https://img.shields.io/npm/v/react-spinner.svg)](https://www.npmjs.com/package/react-spinner) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)


## Customize Your Spinner/Loader


Create your spinner/Loader


## Install

```bash
npm i react-spinner-animated
```

## Variations

- ``
- ``
- ``
- ``
- ``
- ``
- ``

## Usage

You must import both the Loader/Spinner component and index.css

i.e - `import 'react-spinner-animated/dist/index.css'`

```jsx

import { BarLoader,DoubleBubble, SlidingPebbles }
from 'react-spinner-animated';

import 'react-spinner-animated/dist/index.css'

class MyComponent extends Component {
render() {
return
}
}
```

## Props

Prop

Usage
Default
Type

text
Custom text for display with the loader/spinner
" "
Strings

bgColor
Custom text for display with the loader/spinner
White
Any color name or HEX color code

width
width of the container
-
pixels (150px)

height
height of the container
-
pixels (150px)

center
Place the component fixed at the center of the page
true
Boolean (true, false)



### See you again with more spinners

## License

MIT © [venushadilshan](https://github.com/venushadilshan)