npm install --save react-icons-kit
Please visit react-icons-kit
IcoMoonvmasterFontAwesomev4.7MaterialIconsv3.0.1Open Iconicv1.1.1EntypolatestIkonslatestMetrizelatestOcticonsv5.0.1Ioniconsv2.0.1LinealatestTypiconsv2.0.8Noto Emoji RegularlatestFeather Iconslatest
Plus more to come.
Browse all available icons here: react-icons-kit
import Icon from 'react-icons-kit';
import { ic_add_a_photo } from 'react-icons-kit/md/ic_add_a_photo';
import { lock } from 'react-icons-kit/fa/lock';
export const ShowIcons = () => {
return (
<div>
<div><Icon icon={ic_add_a_photo}/><div>
<div><Icon icon={lock}/><div>
</div>
)
}To update the react-icons-kit site deployed at react-icons-kit, you need to first do the following. Assuming you are at the root folder:
- npm install
- npm run dist
- cd site
- npm install
- cd node_modules
- ln -sf ../../dist react-icons-kit
- cd ..
- npm start
You should now be able to live edit the website to do some changes, submit pull request.