Description
react-icons is a library that puts icons from many popular icon packs into React projects as SVG components. Its main feature is that it uses ES6 imports, so you import only the icons your project uses, and each icon pack has its own subfolder. For example, an icon from Material Design is imported from the md path of the package. The README lists dozens of icon sets, among them Font Awesome 5 and 6, Ionicons, Material Design, Feather, Lucide, Heroicons, Bootstrap Icons, Remix Icon, Simple Icons and Devicons. Each set keeps its own license, which the table in the README lists, so you should check the terms for the pack you use. The standard installation is for modern projects that use npm or a similar package manager. For older frameworks such as Meteor or Gatsby, the README describes a second installation method, but it warns that this option has not had a new release for some time and that installing the package takes a long time. The README also covers configuration and how to migrate from version 2 to version 3.…
Highlights
- Icons from more than thirty popular packs
- ES6 imports load only the icons you use
- One import path per icon pack
- Each icon set keeps its own license
Ratings & Reviews
No ratings yet
Be the first to rate react-icons.
People also visit
@icons-pack/react-simple-icons
This package provides the Simple Icons packaged as a set of React components
react-icons FAQ
What is react-icons?
It is a React library that provides SVG icons from many popular icon packs, imported with ES6 modules.
How do I use an icon?
Install the react-icons package and import an icon by name from the subfolder of its icon pack, for example react-icons/md for Material Design.
Which icon sets are included?
The README lists packs such as Font Awesome, Ionicons, Material Design, Feather, Lucide, Heroicons, Bootstrap Icons, Remix Icon, Simple Icons and Devicons.
Can I use the icons commercially?
Each icon pack has its own license, and the README table shows it. Check the license of the pack you use before shipping it.
Does it work with Gatsby or Meteor?
The README describes a separate installation for those frameworks, and notes that this option has not had a new release for some time.
What are the best react-icons alternatives?
Popular alternatives to react-icons include react-feather, @icons-pack/react-simple-icons and react-bootstrap-icons. See all react-icons alternatives














