5. React Icons. Font Awesome icons.
1. Selecting the icon library Any will do. React recommends using icons in SVG format. Here are some examples: 1.1 Material Icons . Can be installed as: npm install @mui /icons-material 1.2 FontAwesome . That can be installed as npm i --save @fortawesome /fontawesome-svg-core npm install --save @fortawesome /free-solid-svg-icons npm install --save @fortawesome /react-fontawesome 1.3 Google Material desing . That has been migrated to React npm install mdi-material-ui --save 2. Creating an SVG Icon by its "path d" parameter For instance, the file " AbcTwoTone.js " that represents the AbcTwoTone icon, in the folder " node_modules/@mui/icons-material/esm " has this content import createSvgIcon from ' ./utils/createSvgIcon ' ; import { jsx as _jsx } from " react/jsx-runtime " ; export default createSvgIcon ( /*#__PURE__*/ _jsx ( " path " , { d : " M21 11h-1.5v-.5h-2v3h2V13H21v1c0 .55-.45 1-1 1...