@kmeh/heroicons
v2.2.0
Published
A set of free MIT-licensed high-quality SVG icons for UI development, with better typing, ESM, and no more confusing imports.
Readme
Basic Usage
First, install @kmeh/heroicons from npm:
npm install @kmeh/heroiconsNow each icon can be imported individually as a React component:
import { BeakerIcon } from '@kmeh/heroicons'
function MyComponent() {
return (
<div>
<BeakerIcon className="size-6 text-blue-500" />
<p>...</p>
</div>
)
}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 →
Contributing
While we absolutely appreciate anyone's willingness to try and improve the project, we're currently only interested in contributions that fix bugs, for example things like incorrect TypeScript types, or fixing an icon that's been exported with a fill instead of a stroke, etc.
We're not accepting contributions for new icons or adding support for other frameworks like Svelte or SolidJS. Instead we encourage you to release your own icons in your own library, and create your own packages for any other frameworks you'd like to see supported.
License
This library is MIT licensed.
