# haunted-heroicons

> Heroicons for Haunted WebComponents

Latest version **1.0.9** (published 2021-06-30) · 0 weekly downloads

## Install

```sh
npm install haunted-heroicons
pnpm add haunted-heroicons
yarn add haunted-heroicons
bun add haunted-heroicons
```

## Health

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

Positive: no vulnerabilities; popular repo.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2021-06-30 |
| First published | 2021-06-26 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 581 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 23914 |
| Maintainers | bmartel |

## Links

- npm: https://www.npmjs.com/package/haunted-heroicons
- Repository: https://github.com/tailwindlabs/heroicons
- Homepage: https://github.com/tailwindlabs/heroicons#readme
- Issues: https://github.com/tailwindlabs/heroicons/issues
- npm.io page: https://npm.io/package/haunted-heroicons

## Recent versions

- 1.0.9 (latest) — 2021-06-30
- 1.0.8 — 2021-06-30
- 1.0.7 — 2021-06-30
- 1.0.6 — 2021-06-26
- 1.0.5 — 2021-06-26
- 1.0.4 — 2021-06-26
- 1.0.3 — 2021-06-26
- 1.0.2 — 2021-06-26
- 1.0.1 — 2021-06-26

## README

# Haunted Heroicons

Install `haunted-heroicons` from npm:

```sh
npm install haunted-heroicons
```

Now each icon can be imported individually as a Haunted WebComponent:

```js
import { html, component } from 'haunted'
import 'haunted-heroicons/solid/BeakerIcon.js'

function MyComponent() {
  return html `
    <style>
      beaker-icon {
        --icon-height: 20px;
        --icon-width: 20px;
        --icon-color: blue; 
      }
    </style>
    <div>
      <beaker-icon></beaker-icon>
      <p>...</p>
    </div>
  `
}

customElements.define('my-component', component(MyComponent));
```

The 24x24 outline icons can be imported from `haunted-heroicons/outline`, and the 20x20 solid icons can be imported from `haunted-heroicons/solid`.

Icons use an upper camel case naming convention and are always suffixed with the word `Icon`.

[Browse the full list of icon names on UNPKG &rarr;](https://unpkg.com/browse/haunted-heroicons/outline/)

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