How to add Custom Font in React Native (Android)

React Native supports only few fonts out of the box for Android platform. Hence, you may always want to add custom fonts in your React Native project to make the app more stylish. Adding custom fonts in React Native for Android platform is very simple.

Just navigate to YourProject>android>app>src>main and create a folder named assets. Inside assets folder create another folder named fonts. Now place your custom fonts in the fonts folder. While styling your text add fontFamily attribute with your custom font as value. Rebuild your project and you can see the custom font in your app.

If you are looking for adding custom fonts in iOS then please do refer this medium article on the same.

1 thought on “How to add Custom Font in React Native (Android)”

Leave a Reply

%d bloggers like this: