React Icons in Reactjs (react-icons) | React Icons all you need to know

preview_player
Показать описание
In this video let me show you a package of react called react icons. This is a quick and simple package to implement icons in your react project. In this video I will tell you all that you need to know about react icons. Hope you like it.
These are some questions that has been answered in this video
Time stamps
Intro: 00:00
1 Where to find React Icons : 00:16
2 How to install it? 00:30
- npm install react-icons --save
either in your command line or in your vscode's terminal
3 How to use It? 00:50
- import a package
eg
import { FaBeer } from 'react-icons/fa';

call that icons as an HTML Tag

4 How to Style It? 01:38
Don’t add padding to your icons it will give some problems
5 How to add multiple and different icons 03:26
just click on those icons to copy and paste it after a comma and then call it like an html tag
6 Any cons ? 05:07
You get all icons at once which is a lot of line of code that is not used so after finishing your project just find those icons and use them manually

-~-~~-~~~-~~-~-
Please watch: "Everything To Know About Css Grid"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

That's a lot of effort for a simple png icon. Why not just img src an actual icon?

SuperMBARutgers
join shbcf.ru