iconoir/README.md

78 lines
2.4 KiB
Markdown
Raw Normal View History

2021-05-11 12:08:03 +02:00
<p align="center">
<img src="https://github.com/IconoirIcons/iconoir/blob/43b76792ddfe3a626c857dd501fa8b616001ab2c/src/iconoir.png" alt="Iconoir">
</p>
2021-05-04 12:55:15 +02:00
<p align="center">
2021-06-11 13:50:26 +02:00
Iconoir is an open source library with 900+ SVG Icons, designed on a 24x24 pixels grid. No premium icons, no email sign-up, no newsletters.
2021-05-04 12:55:15 +02:00
<p>
<p align="center">
<a href="https://iconoir.com"><strong>Browse at iconoir.com &rarr;</strong></a>
</p>
2021-06-14 11:41:47 +02:00
<p align="center">
2021-07-05 17:46:14 +02:00
<a href="https://github.com/lucaburgio/iconoir/releases">
<img src="https://img.shields.io/github/v/release/lucaburgio/iconoir?style=flat-square" alt="Version">
2021-06-14 11:41:47 +02:00
</a>
<a href="https://github.com/lucaburgio/iconoir">
<img src="https://img.shields.io/github/stars/lucaburgio/iconoir?style=flat-square" alt="Project Stars">
</a>
<a href="https://github.com/lucaburgio/iconoir/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/lucaburgio/iconoir?style=flat-square" alt="License">
</a>
</p>
2021-05-04 12:55:15 +02:00
## Basic Usage
You can download any icon of the pack directly from https://iconoir.com or get them from this repository.
Additionally, the icons are available via the `iconoir` NPM package:
```bash
yarn add iconoir
# or
npm i iconoir
```
Example usage:
```js
import Iconoir from 'iconoir/icons/iconoir.svg'
```
2021-05-04 12:55:15 +02:00
2021-06-27 12:26:06 +02:00
## React
A React library is available to install under the name `iconoir-react`. For more details, see the package [README](./packages/iconoir-react).
## React Native
A React Native library is available to install under the name `iconoir-react-native`. For more details, see the package [README](./packages/iconoir-react-native).
2021-06-27 12:26:06 +02:00
## Framer
Iconoir is happily part of [Framer](https://framer.com) now. To start using the icons: On the top menu, `Insert` > `Graphics` > `Iconoir`.
You can switch between icons from the right sidebar in the editor.
2021-05-16 09:58:53 +02:00
## Font
2021-06-27 12:26:06 +02:00
To use Iconoir as a font, add the [iconoir.css](./fonts/iconoir.css) file in your project.
Import the CSS File:
```html
<link rel="stylesheet" href="https://raw.githubusercontent.com/lucaburgio/iconoir/master/fonts/iconoir.css">
```
2021-05-16 09:58:53 +02:00
Here is an example in HTML:
2021-05-04 12:55:15 +02:00
```html
2021-05-16 09:58:53 +02:00
<span class="iconoir-hand-brake"></span>
```
2021-06-26 16:44:02 +02:00
The class must always be "iconoir-" and then the name of the icon. You can find the names of the icons [here](https://iconoir.com).
2021-06-06 08:19:33 +02:00
## Figma
The library is available in the Figma community [here](https://www.figma.com/community/file/983248991460488027/Iconoir-Pack).
2021-05-04 12:55:15 +02:00
## License
2021-05-06 14:22:47 +02:00
MIT License