← All Projects

RN Font Packages

2026 · personal · open source

Typed font packages for React Native, generated from one publishing template.

RN Font PackagesTyped fonts for React Native
Tech Stack
React NativeTypeScriptnpm

A family of React Native font packages, published under my Devraj Labs org, plus the template that generates them.

The problem

Using custom fonts in React Native is more annoying than it should be. The PostScript name a font resolves to differs between iOS and Android, so you end up guessing fontFamily strings or reaching for Platform.select.

The packages

Each package ships a typed weight map of the correct PostScript names, so the font resolves correctly on both platforms with no manual handling. You install the package, point react-native.config.js at its assets, run npx react-native-asset, and use the typed names directly. They also register cleanly into a Vajra UI theme.

So far the family covers Inter, Manrope, Poppins, Jakarta Sans, Newsreader and Noto Serif.

npm install @devraj-labs/rn-font-inter

The template

Rather than hand maintain each one, I built rn-font-template, a GitHub template that does the repetitive work. You drop in the .ttf files and run two commands:

  • npm run generate reads the fonts, infers the weight map, and writes both src/index.ts and a package specific README.
  • npm run release builds and publishes to npm.

Every package in the family comes out of that same pipeline, which keeps them consistent and turns adding a new font into a few minutes of work.