# info-icon

> A subtle info icon

Latest version **0.0.2** (published 2015-06-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install info-icon
pnpm add info-icon
yarn add info-icon
bun add info-icon
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-06-09 |
| First published | 2015-06-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrew Morris |
| Maintainers | voltrevo |
| Keywords | info, icon, css |

## Links

- npm: https://www.npmjs.com/package/info-icon
- Repository: https://github.com/voltrevo/info-icon
- Homepage: https://github.com/voltrevo/info-icon#readme
- Issues: https://github.com/voltrevo/info-icon/issues
- npm.io page: https://npm.io/package/info-icon

## Dependencies (2)

- [cssify](https://npm.io/package/cssify.md) ^0.7.0
- [html2jsify](https://npm.io/package/html2jsify.md) 0.0.2

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads
- [@react-md/material-icons](https://npm.io/package/@react-md/material-icons.md) — 1.6K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2015-06-09
- 0.0.1 — 2015-06-07

## README

# info-icon
A subtle info icon

# Quick Demo

```
git clone git@github.com:voltrevo/info-icon.git
cd info-icon
npm install
npm run demo
```

Visit [http://localhost:8080/](http://localhost:8080/)

# Usage

`npm install --save info-icon`

```
'use strict'

var infoIcon = require('info-icon')

window.addEventListener('load', function() {
  var icon = infoIcon()

  icon.addEventListener('click', function() {
    console.log('clicked')
  })

  document.body.appendChild(icon)
})
```

# `require`? What's that?

If you don't use [browserify](http://browserify.org/), you could just grab `src/icon.css` and then do this:

```
<link rel='stylesheet' src='icon.css'/>
<div class='info-icon'>i</div>
```

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