Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elilabes/heroicons-qwik

A Qwik implementation of Heroicons
https://github.com/elilabes/heroicons-qwik

Last synced: about 1 month ago
JSON representation

A Qwik implementation of Heroicons

Awesome Lists containing this project

README

        



Heroicons


Heroicons


Qwik implementation of heroicons - Browse at Heroicons.com →

This is an implementation of Heroicons in the [Qwik](https://qwik.builder.io/) framework.

Both icon styles are preconfigured to be stylable by setting the `color` CSS property, either manually or using utility classes like `text-gray-500` in a framework like [Tailwind CSS](https://tailwindcss.com).

## Quick start

Install `heroicons-qwik` from npm:

```sh
npm install heroicons-qwik
```

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

```js
import { component$ } from "@builder.io/qwik";
import { BeakerIcon } from "heroicons-qwik/24/solid";

export default component$(() => {
return (



...



);
});
```

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

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

## License

This library is MIT licensed.