Answers for "install react font awesome"

3

installing and using font awesome icons in react

// install font-awesome module
npm install --save font-awesome

// import font-awesome to your index.js file
import 'font-awesome/css/font-awesome.min.css'

// use icon like this
<i className="fa fa-spinner fa-spin">no spinner but why</i>
Posted by: Guest on July-07-2021
0

react font awesome npm

npm i --save @fortawesome/fontawesome-svg-core
  npm install --save @fortawesome/free-solid-svg-icons
  npm install --save @fortawesome/react-fontawesome
Posted by: Guest on November-05-2021
0

react-fontawesome npm

$ yarn add @fortawesome/free-solid-svg-icons
Posted by: Guest on September-09-2021

Browse Popular Code Answers by Language