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

react-loader-icon

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-loader-icon

React component that display loader icon

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
37
decreased by-21.28%
Maintainers
1
Weekly downloads
 
Created
Source

react-loader-icon

React component that display loader icon

Installation

To install react-loader-icon, use npm:

npm i react-loader-icon -S

Usage

import React from "react";
import LoaderIcon from "react-loader-icon";

class App extends React.Component {
  render() {
    return (
      <div>
        <LoaderIcon />
        <LoaderIcon size={100} />
        <LoaderIcon color={"red"} />
        <LoaderIcon className={"loader"} />
        <LoaderIcon style={{ marginTop: 100 }} />
        <LoaderIcon type={"bars"} color={"red"} size={100} />
        <LoaderIcon type={"balls"} />
        <LoaderIcon type={"bars"} />
        <LoaderIcon type={"bubbles"} />
        <LoaderIcon type={"cubes"} />
        <LoaderIcon type={"cylon"} />
        <LoaderIcon type={"spin"} />
        <LoaderIcon type={"spinningBubbles"} />
        <LoaderIcon type={"spokes"} />
      </div>
    );
  }
}

export default App;

Options

  • size - define the size of the icon. (default: 64) [OPTIONAL]
  • color - define the color of the icon. (default: black) [OPTIONAL]
  • type - define the type of loader icon needed. (default: spinningBubbles) [OPTIONAL]
  • className - define the className of loader icon. (default: spinningBubbles) [OPTIONAL]
  • style - define the style of loader icon. (default: spinningBubbles) [OPTIONAL]

Loading Types

  • balls
  • bars
  • bubbles
  • cubes
  • cylon
  • spin
  • spinningBubbles
  • spokes

Demo

react-loader-icon demo

Tests

npm install
npm test

Keywords

FAQs

Package last updated on 22 Apr 2019

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