JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q40994F
  • License MIT

A react loader component done with CSS.

Package Exports

  • react-minimalistic-loaders

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-minimalistic-loaders) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React-minimalistic-loaders

npm package

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

Usage:

import Loader from 'react-minimalistic-loader'

<Loader animation='NormalRotation' shape='Sunshine'/>

Props:

Name Type Default Description
size string 28px The size of the loader component - must be a valid CSS size unit.
color string #000 The color of the loader shape and text - must be a valid CSS color.
fontSize string 28px The size of the loader text - must be a valid CSS size unit.
loaderText string 28px Loader text, inputing en empty string - "" removes the text.
length string 4s The length of a single animation loop - must be a valid CSS time unit.
animation string NormalRotation The name of the loader animation.
shape string Base The name of the loader shape.

Available animations:

  • JumpyRotation
  • NormalRotation

Available shapes:

  • Base
  • NothedCircle
  • Sunshine