Socket
Socket
Sign inDemoInstall

halogen

Package Overview
Dependencies
44
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    halogen

A collection of loading spinners with React.js


Version published
Weekly downloads
1.5K
decreased by-12.66%
Maintainers
1
Install size
73.5 kB
Created
Weekly downloads
 

Readme

Source

Halogen npm version

Pair on this

A collection of loading spinners with React.js.

  • React 0.14+ Use halogen 0.2
  • React 0.12+ Use halogen 0.1

Demo & Examples

Live demo: yuanyan.github.io/halogen

To build the examples locally, run:

npm install
gulp dev

Then open localhost:9999 in a browser.

Installation

The easiest way to use halogen is to install it from NPM and include it in your own React build process (using Browserify, etc).

You can also use the standalone build by including dist/halogen.js in your page. If you use this, make sure you have already included React, and it is available as a global variable.

npm install halogen --save

Usage

var Loader = require('halogen/PulseLoader');
var Example = React.createClass({
  render: function() {
    return (
      <Loader color="#26A65B" size="16px" margin="4px"/>
    );
  }
});

Loaders

  • PulseLoader
  • RotateLoader
  • BeatLoader
  • RiseLoader
  • SyncLoader
  • GridLoader
  • ClipLoader
  • FadeLoader
  • ScaleLoader
  • SquareLoader
  • PacmanLoader
  • SkewLoader
  • RingLoader
  • MoonLoader
  • DotLoader
  • BounceLoader

Browser Support

IEChromeFirefoxOperaSafari
IE 10+ ✔Chrome 4.0+ ✔Firefox 16.0+ ✔Opera 15.0+ ✔Safari 4.0+ ✔

Keywords

FAQs

Last updated on 02 Apr 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc