# halogen

> A collection of loading spinners with React.js

Latest version **0.2.0** (published 2016-04-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install halogen
pnpm add halogen
yarn add halogen
bun add halogen
```

## Health

**Score 18/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2016-04-02 |
| First published | 2015-03-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/halogen) |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Yuanyan Cao |
| Maintainers | yuanyan |
| Keywords | react, react-component, loader, spinner, halogen |

## Links

- npm: https://www.npmjs.com/package/halogen
- Repository: https://github.com/yuanyan/halogen
- Homepage: https://github.com/yuanyan/halogen#readme
- Issues: https://github.com/yuanyan/halogen/issues
- npm.io page: https://npm.io/package/halogen

## Dependencies (1)

- [domkit](https://npm.io/package/domkit.md) 0.0.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2016-04-02
- 0.1.10 — 2015-06-08
- 0.1.9 — 2015-06-08
- 0.1.8 — 2015-04-09
- 0.1.7 — 2015-04-09
- 0.1.6 — 2015-04-09
- 0.1.5 — 2015-04-09
- 0.1.4 — 2015-04-06
- 0.1.3 — 2015-04-06
- 0.1.2 — 2015-04-05
- 0.1.1 — 2015-04-04
- 0.1.0 — 2015-04-03
- 0.0.0 — 2015-03-26

## README

Halogen [![npm version](https://badge.fury.io/js/halogen.svg)](http://badge.fury.io/js/halogen)
=======

[![Pair on this](https://tf-assets-staging.s3.amazonaws.com/badges/thinkful_repo_badge.svg)](http://start.thinkful.com/react/?utm_source=github&utm_medium=badge&utm_campaign=halogen)

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](http://yuanyan.github.io/halogen/)

To build the examples locally, run:

```
npm install
gulp dev
```

Then open [`localhost:9999`](http://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](http://browserify.org), 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

```javascript
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](https://raw.github.com/alrra/browser-logos/master/internet-explorer/internet-explorer_48x48.png) | ![Chrome](https://raw.github.com/alrra/browser-logos/master/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/firefox/firefox_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/opera/opera_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/safari/safari_48x48.png)
--- | --- | --- | --- | --- |
IE 10+ ✔ | Chrome 4.0+ ✔ | Firefox 16.0+ ✔ | Opera 15.0+ ✔ | Safari 4.0+ ✔ |

---
_Source: https://npm.io/package/halogen · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
