Advanced
Setting up Privy UIs
Before integrating Privy’s default UIs into your app, you must first ensure the necessary components and fonts are installed.
Install Peer Dependencies
First, install the necessary peer dependencies:
Fonts
Install Font Packages
Install the following packages:
Load Fonts
Load the necessary fonts in your app’s root layout (typically in app/_layout.tsx
):
PrivyElements Component
Privy’s default UIs in the React Native SDK are powered by the PrivyElements
modal component.
Only mount
PrivyElements
once in your app.Was this page helpful?