import { library } from '@fortawesome/fontawesome-svg-core' ; import { faFacebookF } from '@fortawesome/free-brands-svg-icons/faFacebookF' ; import { faTwitter } from '@fortawesome/free-brands-svg-icons/faTwitter' ; import { faLinkedinIn } from '@fortawesome/free-brands-svg-icons/faLinkedinIn' ; import { faGooglePlusG } from '@fortawesome/free-brands-svg-icons/faGooglePlusG' ; const icons = [ faFacebookF , faTwitter , faLinkedinIn , faGooglePlusG ] ; library . add ( ... icons ) ;