Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

loaders-ui

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loaders-ui

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

  • 1.1.74
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
53
increased by130.43%
Maintainers
0
Weekly downloads
 
Created
Source

Loaders Package

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

Loaders Available

  1. Spinner
  2. InfiniteDots
  3. DotsSpinner

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.

Keywords

FAQs

Package last updated on 04 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc