0.1.0 • Published 2 years ago

nullstack-heroicons v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Usage

First, install nullstack-heroicons from npm:

npm install nullstack-heroicons

Now each icon can be imported individually as a Nullstack component:

import { BeakerIcon } from 'nullstack-heroicons/24/solid'

function MyComponent() {
  return (
    <div>
      <BeakerIcon class="h-6 w-6 text-blue-500" />
      <p>...</p>
    </div>
  )
}

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

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

License

This library is MIT licensed.

0.1.0

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago