react-slowpoke

1.2.3 • Public • Published

npm version


Slowpoke

Minimal spinner react component

See a live demo and it's code here

How to use?

Install the package trough npm:

npm install --save react-slowpoke

Then you embed it into your react component like this:

<SlowPoke type="round" show={true} />

Setting the show prop according to your needs.

At the moment only the round type is available, but there are some options you can pass as props to customize:

{
  speed: 4,
  size: 30,
  weight: 19,
  foreground: 'rgba(0,0,0,0.7)',
  background: 'rgba(0,0,0,0.2)'
}

Package Sidebar

Install

npm i react-slowpoke

Weekly Downloads

1

Version

1.2.3

License

MIT

Last publish

Collaborators

  • boudra