PandaText / Docs / React Native

PandaText for React Native

One Fabric component over the native iOS and Android views.

Supported platforms

iOS
iOS 18 and later.
Android
Android 8 (API 26) and later, on arm64-v8a and x86_64.

Get started

Install the package, then load your fonts, create a view and set the text. Package sources come with early access.

React Native

Requires: React Native 0.82 or later, with the New Architecture.

1 Install

Install the package and the iOS pods:

npm install @pandatext/react-native
cd ios && pod install

The package carries the iOS view, PandaText.xcframework and the Android AAR. Add your fonts to the app as usual and name them in fonts.

2 Create the view

One component over the native iOS and Android views.

import { PandaTextView } from "@pandatext/react-native";

<PandaTextView
  style={{ flex: 1 }}
  fonts={[["NotoSans-Regular"]]}
  text="Hello PandaText"
/>

API

After setup, every call does the same job on every platform. Open the Editor API for React Native.

Uses the same API column as Expo.