2.0.5 • Published 1 year ago

react-circles v2.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
1 year ago

react-circles NPM Package

A small react component to for rendering a rotating circle animation. Example

Installation

npm i react-circles

Props

Props (* required)DefaultDescriptionType
numCircles *undefinedNumber of circles to rendernumber
speed*undefinedSpeed at which the circles rotate'fast' | 'slow'

Usage

import Circles from 'react-circles'

<Circles numCircles={60} speed={'slow'}/>

// Full Screen with background color 

<div style={{height:window.innerHeight, width:window.innerWidth, backgroundColor:"black"}}>
    <Circles numCircles={60} speed={'slow'}/>
</div>

Features

The react-circles component is responsive and inherits its width, height, and background-color properties from its parent element

License

MIT

Author

  • Andrew Moss - Creator - agmoss
2.0.5

1 year ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago