Include popular icons in your React projects easily with react-icons
Include popular icons in your React projects easily with react-icons
Advertisement

Include popular icons in your React projects easily with react-icons, which utilizes ES6 imports that allows you to include only the icons that your project is using.

Installation (for standard modern project)

example usage

View the documentation for further usage examples and how to use icons from other packages. NOTE: each Icon package has it’s own subfolder under react-icons you import from.

For example, to use an icon from Material Design, your import would be: import { ICON_NAME } from 'react-icons/md';

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.