Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lili21/lollipop-loader


https://github.com/lili21/lollipop-loader

loading react react-component

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

## lollipop-loader
> React Loading Component

### Installation

```bash
$ yarn add lollipop-loader
```

### Usage

```javascript
import Loading from 'lollipop-loader'

ReactDOM.render(, container)
```

### API

Property | Description | Type | Default
-------- | ----------- | ---- | -------
size | `width` of the `` | Numnber | 36
dash | thickness | Number | 4
color | color of ring | String | mediumseagreen

### Credit

- [svg line animation](https://css-tricks.com/svg-line-animation-works/)
- [svg progress](https://codepen.io/xgad/post/svg-radial-progress-meters)
- [modern google loader](https://www.uplabs.com/posts/modern-google-loader-in-pure-css)