The package : material-ui/core has been depracted .What should I do inorder to add the icons in my
App.jsx .
https://www.npmjs.com/package/@material-ui/core
I am running it on the code sand box where we directly to serach for the name and the drop it directyky into the dependencies folder.
To add icons in react APP.jsx
2
Answers
You can use react-icons.
https://react-icons.github.io/react-icons/
Official sample:
Adjust size:
ps.
You can install mui by
There are many options for icons for your React app. Some of the popular icon libraries are:
Font Awesome:
Font Awesome is a popular icon library, with over 2,000 free and open-source icons. It also offers a pro subscription starting at $79 a year, which gives you access to almost 20,000 icons. These icons can be customized with different sizes and colors.
React Feather:
React Feather is a collection of minimalist open source icons for React, based on the Feather Icons library. This icon set emphasizes simplicity, consistency and readability.
Material UI:
It gives you access to the Material Icons library, which was created by Google in line with the Material Design system.
React Icons:
It provides a large variety of icons.
Heroicons:
Heroicons was created by the same makers of Tailwind, a popular CSS framework. This library offers a small – but beautiful – collection of SVG icons.
And many more options.