# halogenium

> A collection of loading spinners with React.js based on halogen

Latest version **2.3.0** (published 2019-08-29) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types package; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.3.0 |
| Published | 2019-08-29 |
| First published | 2017-04-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/halogenium) |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 937.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 65 |
| Maintainers | kirilldanshin |
| Keywords | react, react-component, loader, spinner, halogen, halogenium |

## Links

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

## Dependencies (1)

- [prop-types](https://npm.io/package/prop-types.md) ^15.6.0

## 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

- 2.3.0 (latest) — 2019-08-29
- 2.2.4-rc26 — 2019-08-29
- 2.2.4-rc25 — 2019-08-29
- 2.2.4-rc24 — 2019-08-29
- 2.2.4-rc23 — 2019-08-29
- 2.2.4-rc22 — 2019-08-29
- 2.2.4-rc21 — 2019-08-29
- 2.2.4-rc20 — 2019-08-29
- 2.2.4-rc19 — 2019-08-29
- 2.2.4-rc18 — 2019-08-29
- 2.2.4-rc17 — 2019-08-29
- 2.2.4-rc16 — 2019-08-29
- 2.2.4-rc15 — 2019-08-29
- 2.2.4-rc14 — 2019-08-29
- 2.2.4-rc13 — 2019-08-29
- … 27 more at https://npm.io/package/halogenium/versions

## README

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

A collection of loading spinners with React.js based on [halogen](https://github.com/yuanyan/halogen). Now supports React.js 15.0+ (16.0+ too!) and Safari.

[![NPM](https://nodei.co/npm/halogenium.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/halogenium/)

## Browser Support

![IE](https://cdn.rawgit.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) | ![Chrome](https://cdn.rawgit.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://cdn.rawgit.com/alrra/browser-logos/master/src/archive/firefox_23-56/firefox_23-56_48x48.png) | ![Opera](https://cdn.rawgit.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Safari](https://cdn.rawgit.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://cdn.rawgit.com/alrra/browser-logos/master/src/edge/edge_48x48.png)
--- | --- | --- | --- | --- | --- |
IE 10+ ✔ | Chrome 4.0+ ✔ | Firefox 16.0+ ✔ | Opera 15.0+ ✔ | Safari 4.0+ ✔ | Edge 12+ |

## Demo & Examples

Live demo: [kirilldanshin.github.io/halogenium](http://kirilldanshin.github.io/halogenium/)

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 `halogenium` is to install it from NPM and import it.

You can also use the standalone build by including `dist/halogenium.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 styled-components halogenium --save
```

## Usage

```javascript
import React, { Component } from 'react';
import { PulseLoader } from 'halogenium';

export default class Example extends Component {
  render() {
    return (
      <PulseLoader color="#26A65B" size="16px" margin="4px"/>
    );
  }
}
```

## Loaders

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

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