title: How to use Font Awesome 6 icons in React.js, especially social icons?
body: <p>I installed the below package from font awesome documentation and <code>faCoffee</code> icon was added but when I want to use the social icon the icon is not added.</p>
  <pre><code>npm i --save @fortawesome/fontawesome-svg-core
  
  npm i --save @fortawesome/free-solid-svg-icons
  npm i --save @fortawesome/free-regular-svg-icons
  
  npm i --save @fortawesome/react-fontawesome@latest
  
  &lt;FontAwesomeIcon icon={faCoffee} /&gt;
  </code></pre>