Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

with-expo-fonts

andresribeiro40MIT1.0.1TypeScript support: included

Make your expo apps start faster by loading fonts at build time

react-native, expo, fonts, startup-time, plugin, plugins, expo-plugins, expo-dev-client, javascript, rn

readme

with-expo-fonts

Make your expo apps start faster by loading fonts at build time

Why ✨

expo-font load fonts at runtime. This increases the startup time

iOS ⚠️

Currently it only works on Android. PRs for adding iOS support are welcome

Installation ⚙️

expo install with-expo-fonts

Add to your plugins on app.json

{
  "name": "my app",
  "plugins": ["with-expo-fonts"]
}

Usage 🔨

At the root of your project there is an assets folder. Create a fonts folder inside it, and place your fonts.

Screenshot

Rebuild your app and enjoy :)