react-icons-kit
v2.0.0
Published
React Icons Kit using various Svg Icon set
Downloads
39,742
Maintainers
Readme
react-icons-kit
Note: Please visit https://reactsvgicons.com/ has svg icons directly as react components can you can import to your project without to need to use a library
Releases:
v2.0.0
- @kamikazebr export withBaseIcon - PR #75
- @lyleunderwood Don't discard fill=none - PR #73
- @lyleunderwood Update Material Design Icons to 4.0.0 - PR #60
- @vahissan Allow IconProp type definition to allow all HTML attributes. PR#58
- @gottschalkironhack - Same material v4 update
Installation
npm install --save react-icons-kit
Documentation / Demo
Please visit react-icons-kit
Bundled Icon Sets
IcoMoon
vmasterFontAwesome
v4.7MaterialIcons
v4.xOpen Iconic
v1.1.1Entypo
latestIkons
latestMetrize
latestOcticons
v5.0.1Ionicons
v2.0.1Linea
latestTypicons
v2.0.8Noto Emoji Regular
latestFeather Icons
latest
Plus more to come.
Browse Icon Sets
Browse all available icons here: react-icons-kit
Changes
1.3.0
[Merged PR #42 by @nbcnc
](https://github.com/wmira/react-icons-kit/pull/42)
Quick Start Guide
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>
)
}
Tree Shaking
Use the eslint config from this: https://github.com/wmira/react-icons-kit/issues/38
Development
React Icons Kit Site
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.