Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Autoplay
Hide playlist

    Add a Custom Font to a React Native Application

    iOS and Android come with several built in fonts, but if you want to use a custom font in your react native application, you'll need to add it first.

    You can add a custom font by copying the font files to your project, telling react native where to find those files by adding an rnpm entry to your package.json file, and then linking them with react-native link.

    Then, you can use that new font by specify it as the fontFamily style for a Text component, and you can change the fontWeight or fontStyle component if you've added additional style and weight font files.

    You must be a Member to view code