amazing spinners and loaders for reactjs
//using npm or yarn
import { Circle, Heart } from 'react-spinners-css';
//using bit
import Facebook from '@bit/joshk.react-spinners-css.facebook';
import { getRandomColor } from '@bit/joshk.jotils.get-random-color'
...
render() {
return(
<div>
<Circle /> //default color is #7f58af
<Circle color="red" />
<Circle color="#be97e8" size={200} /> //size prop is number in pixel
<Heart color={getRandomColor()} />
<Facebook /> //default color is #7f58af
<Facebook color="red" />
</div>
)
}