1.0.9 • Published 3 years ago

haunted-heroicons v1.0.9

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

Haunted Heroicons

Install haunted-heroicons from npm:

npm install haunted-heroicons

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

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

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago