Get Thousands of Icons for React Project for Free with React Icons
React Icons: The Best Collection Icon Source for React Developers
React Icons is a free source that collect and organize all React icon packages in a simple browsable and searchable directory.
It contains all the popular icon sets that you can include easily in your project by installing and adding react-icons
package.
Many of the included icon packages are free and open source. And that means, you can use them freely in your project without worrying about commercial license.
However, some may offer extended packages with more enterprise commercial icons, so you can check their website if you actually need their pro version.
How to install React Icons?
It is a pretty straightforward:
npm install react-icons --save
If you want to install it on Meteor, or GatsbyJS, then
npm install @react-icons/all-files --save
How to use it in your React project?
For a normal React project
import { FaBeer } from 'react-icons/fa';
class Question extends React.Component {
render() {
return <h3> Lets go for a <FaBeer />? </h3>
}
}
For Meteor, or Gatsbyjs
import { FaBeer } from "@react-icons/all-files/fa/FaBeer";
class Question extends React.Component {
render() {
return <h3> Lets go for a <FaBeer />? </h3>
}
}
Included icon sets
- Ant Design Icons
- Bootstrap Icons
- BoxIcons
- Circum Icons
- Devicons
- Feather
- Flat Color Icons
- Font Awesome
- Game Icons
- Github Octicons icons
- Grommet-Icons
- Heroicons
- Heroicons 2
- IcoMoon Free
- Ionicons 4
- Ionicons 5
- Material Design icons
- Remix Icon
- Simple Icons
- Simple Line Icons
- Tabler Icons
- Themify Icons
- Typicons
- VS Code Icons
- Weather Icons
- css.gg
Final thoughts
React Icons is a neat project, that saves react developer a lot of time and effort, by offering a great icon collection to choose from.
However, there are several open-source that are not added yet, but they may find their place in React Icons soon.