Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
@amazon-devices/expo-font provides an interface to load fonts at runtime and use them in React Native components.

Installation

  1. Add the JavaScript library dependency in the package.json file.
  2. Reinstall dependencies using the npm install command.

Examples

The example below demonstrates how to load fonts with the useFonts hook. You need to download the .otf file and replace the content inside the useFonts call.

API reference

See the documentation page for information about this library and API reference: Official Expo documentation for expo-font.

Hooks

Methods

Add custom fonts

In addition to modifying the standard Vega fonts in your app, you can load your own custom fonts. To load custom fonts, place your font file in the assets/fonts/ directory. Your font file name must match the font family name. For example, if the font family name is Open Sans, your font file name should be Open Sans.ttf.

Supported versions

Supported Third-Party Libraries and Services.
Last modified on September 30, 2025