Expo Docs

Hey friend! We are co-hosting a conference with Software Mansion, learn more.

Font

Allows loading fonts from the web and using them in React Native components. See more detailed usage information in the Using Custom Fonts guide.

Convenience form of Expo.Font.loadAsync() that loads multiple fonts at once.

Expo.Font.loadAsync({
  Montserrat: require('./assets/fonts/Montserrat.ttf'),
  'Montserrat-SemiBold': require('./assets/fontsMontserrat-SemiBold.ttf'),
});

Returns a promise. The promise will be resolved when the fonts have finished loading.