1.3.4 • Published 6 years ago

react-minimalistic-loaders v1.3.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

React-minimalistic-loaders

A lightweight react loader component. I will try to add new animations and shapes consistently.

Usage:

installation:

npm i react-minimalistic-loaders or yarn add react-minimalistic-loaders

use it in your component:

import React, { Component } from "react";
import Loader from "react-minimalistic-loaders";

class App extends Component {
  render() {
    return (
      <Loader shape="Eyeball" size="100px" />
    );
  }
}

export default App;

Props:

NameTypeDefaultDescription
sizestring28pxThe size of the loader component - must be a valid CSS size unit.
colorstring#000The color of the loader shape and text - must be a valid CSS color.
fontSizestring28pxThe size of the loader text - must be a valid CSS size unit.
loaderTextstring28pxLoader text, inputing en empty string - "" removes the text.
animationLengthstring4sThe length of a single animation loop - must be specified in ms or s.
animationstringNormalRotationThe name of the loader animation.
shapestringBaseThe name of the loader shape.

Available animations:

  • Grow
  • HalfRotation
  • Rotation
  • AcceleratedRotation

Available shapes:

  • Square
  • NotchedCircle
  • Sunshine
  • Eyeball
  • Corridor
  • ThreeCircles
  • Spinner
  • InvertedTam

Contributing:

Please read CONTRIBUTING.MD before commiting. PRs that do not follow the existing code structure will be rejected.

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago