using fontawesome in react using classnames code example Example: font awesome react npm install --save @fortawesome/fontawesome-free