# react-web-vector-icons
An adaptation of react-native-vector-icons for react-web
## Installation
- Install npm package
```sh
npm i -S react-web-vector-icons
```
## Usage
1 - Add css font-face for all fonts in your index.html file
```html
```
2 - Add require of fonts for webpack in your index.js file
```javascript
require('react-web-vector-icons/fonts');
```
3 - Use
```javascript
import Icon, { FontAwesome, Feather } from 'react-web-vector-icons';
```
[Example of use](https://github.com/sturmenta/react-web-vector-icons/tree/master/test)
### Note
The fonts FontAwesome5 and FontAwesome5Brands are not yet implemented, you are invited to make a pr if you want to use this fonts.
## Special thanks to: https://github.com/oblador
#### Gallery of icons -- https://oblador.github.io/react-native-vector-icons/
## License
MIT.
## Author
Nicolas Sturm -- sturmenta