npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

loaders-ui

v1.1.61

Published

A fully functional & comprehensive suite of customizable and visually appealing loaders designed to enhance your web applications.

Downloads

150

Readme

Loaders Package

A fully functional & comprehensive suite of customizable and visually appealing loaders designed to enhance your web applications.

Loaders Available

  1. Infinite
  2. BouncingBalls
  3. BouncingSquares
  4. Circle
  5. ColorFullSpinner
  6. DoubleBounce
  7. DoubleRing
  8. ExpandingCircle
  9. ExpandingRing
  10. FlashSquares
  11. FlashingDots
  12. FlashingSquares
  13. FoldingCube
  14. MorphSquare
  15. PulsatingCircle
  16. PulsatingCrosses
  17. PulsatingHexagon
  18. PulsatingRectangles
  19. PulsatingRings
  20. PulsatingSquare
  21. RollingSquares
  22. RotatingBars
  23. RotatingDots
  24. RotatingPlane
  25. ScalingSquares
  26. SkewedSquares
  27. SlidingBars
  28. SlidingLines
  29. SlidingSquares
  30. Spinner
  31. SpinnerHalf
  32. SpinnerRing
  33. WanderingCubes
  34. ZigZagLine

Installation

To install the package, run:

npm install loaders-ui

Usage

Simple Spinner

import React from 'react';
import "loaders-ui/dist/main/index.min.css";
import { Spinner } from 'loaders-ui';

const App = () => (
  <div>
    <Spinner />
  </div>
);

export default App;

Common Props

All loaders can accept the following common props:

  • width (string | number): Define the size of the loader.
  • color (string): Define the primary color of the loader. Default is #3498db.
  • className (string): Add custom class names for styling.

Specific Props

ColorFullSpinner

  • colors [string, string, string, string]: Define the four colors of the spinner's stroke.
  • color : is not valid in this case.

DoubleRing

  • width (number): Define the size of the loader.

ExpandingRing

  • borderWidth (number): Define the border-width of ring.

RotatingDots

  • dotsSize (number | string): Define the size of the dots.

Spinner

  • dullColor (string): Define the stroke (of complete circle) color.
  • borderWidth (number | string): Define the stroke width.

SpinnerHalf ,

SpinnerRing

  • borderWidth (number | string): Define the stroke width.

ZigZagLine

  • maxWidth (number | string): Define the max width of where line can be moved.
  • height (number | string): Define the height of the line.

Keywords

  • loaders
  • react-loaders
  • spinner
  • loading-indicator
  • bouncing-squares
  • circular-spinner
  • pulsing-dot
  • rotating-cube

License

This project is licensed under the MIT License.