Nice usage of newer APIs to check for the font...
That said, I really appreciate the work that went into react-icons, to take several open icon libraries (including FontAwesome's) and normalize them into SVGs and wrap them in a React library. This way if you only use 5 icons, you don't load the whole font, and don't have to setup a custom font builder toolchain.