Halogen

使用 React.js 的加载旋转器的集合。「A collection of loading spinners with React.js」

  • Owner: yuanyan/halogen
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

IE, Chrome, Firefox, Opera, Safari
---, ---, ---, ---, ---, IE 10+ ✔, Chrome 4.0+ ✔, Firefox 16.0+ ✔, Opera 15.0+ ✔, Safari 4.0+ ✔

Main metrics

Overview
Name With Owneryuanyan/halogen
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2015-03-25 14:54:37
Pushed At2024-02-01 10:52:17
Last Commit At2024-02-01 18:52:16
Release Count2
Last Release Namev0.2.0 (Posted on 2016-04-02 20:32:02)
First Release Namev0.1.9 (Posted on 2015-06-08 12:04:01)
用户参与
Stargazers Count1.6k
Watchers Count19
Fork Count150
Commits Count47
Has Issues Enabled
Issues Count29
Issue Open Count17
Pull Requests Count6
Pull Requests Open Count5
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private