YouVersion PlatformYouVersion Platform
PlatformContent LibraryDev Docs
CommunityPartnersSupport

YouVersion Platform

Build applications and integrate with the world's most popular Bible platform.

Platform Products

  • Platform Portal
  • Developer Documentation
  • App Management

Resources

  • Support
  • Press inquiries

Legal

  • Privacy Policy
  • Terms of Use
  • Core Beliefs

© 2026 YouVersion. All rights reserved.

  • Overview
  • API Reference
  • SDKs
  • Changelog
<  Back to Platform
SDK Introduction
Swift SDK
Kotlin SDK
JavaScript SDK
React SDK
React Native (Expo) SDK
    Quick StartComponentsSearchVerse imagesAuthentication
    Guides
React Native (Expo) SDK

Components

All components are imported from @youversion/platform-react-native-expo-ui and must be rendered inside a YouVersionProvider. They read appKey from the provider, so you never pass it to a component directly.

theme ("light" | "dark" | "system") overrides the provider theme. BibleTextView, BibleCard, BibleReader, VerseOfTheDay, BibleChapterPickerSheet, and BibleVersionPickerSheet accept it. YouVersionAuthButton uses background instead. BibleChapterPicker does not accept theme. See Theming.

These components run on iOS and Android only. Expo web is not supported.

Text direction

BibleReader and BibleTextView follow the Bible version's text direction. Pass scriptureDirection on BibleTextView to set ltr or rtl yourself. Before that direction is known, and when the lookup fails, direction follows the strong letters in the passage. BibleCard follows those letters unless you pass scriptureDirection.


YouVersionProvider

Required provider that configures the SDK. Wrap your app root with it (inside GestureHandlerRootView). Authentication is optional — see Authentication.

Code
import { YouVersionProvider } from "@youversion/platform-react-native-expo-ui"; <YouVersionProvider appKey="YOUR_APP_KEY" theme="system"> {/* your app */} </YouVersionProvider>;

Props:

PropTypeDefaultDescription
appKeystringrequiredYour YouVersion Platform App Key.
apiHoststringapi.youversion.comPlatform API host for Bible content and auth.
theme"light" | "dark" | "system""system"Default theme for all SDK components. "system" follows the OS.
localestringdevice localeOverride the language of the SDK's built-in UI strings. Defaults to the device locale.
permittedLanguageTagsstring[]—BCP 47 language tags. Restrict versions by language.
permittedVersionIdsnumber[]—Permit only these YouVersion Bible version IDs.
excludedVersionIdsnumber[]—Refuse these YouVersion Bible version IDs.
auth{ redirectUri: string; scopes?: AuthScope[]; permissions?: AuthPermission[] }—Enables authentication. Add permissions: ["highlights"] to save highlights. See Authentication.
fallbackReactNode—Kept for compatibility; the provider does not render it.
childrenReactNoderequiredYour app.

Limit which Bible versions the SDK uses

By default, the SDK offers Bible versions in every available language. To limit that catalog, pass permittedLanguageTags, permittedVersionIds, or excludedVersionIds on YouVersionProvider. These lists are the version filter, and they exist only on the provider.

Code
<YouVersionProvider appKey="YOUR_APP_KEY" permittedLanguageTags={["en"]} > {/* your app */} </YouVersionProvider>

Language tags follow BCP 47, such as "en" for English or "es" for Spanish.

You can also limit the catalog to specific Bible versions with permittedVersionIds:

Code
<YouVersionProvider appKey="YOUR_APP_KEY" permittedVersionIds={[111, 3034]} > {/* your app */} </YouVersionProvider>

Version IDs are YouVersion Bible version IDs. Search for them in the Bibles directory. You can pass both permittedVersionIds and permittedLanguageTags. A version must match both lists to be used.

To exclude specific versions and leave every other available version usable, pass excludedVersionIds:

Code
<YouVersionProvider appKey="YOUR_APP_KEY" excludedVersionIds={[123, 456]} > {/* your app */} </YouVersionProvider>

If you omit a permit list, that list applies no restriction. An empty permit list ([]) permits nothing. If a version is both permitted and excluded, exclusion wins.

The version filter applies to the version picker, recents, the reader, cards, text, Verse of the Day, and any versionId you pass. The SDK does not substitute another version, including 3034. Recents that fail the filter stay hidden until you change the filter. The SDK does not delete them.

useYouVersion

Reads the provider's resolved configuration. It throws when used outside a YouVersionProvider. To load version copyright for custom layout, see Copyright & Attribution.

Code
import { useYouVersion } from "@youversion/platform-react-native-expo-core"; const { appKey, apiHost, installationId } = useYouVersion();

Return value:

FieldTypeDescription
appKeystringThe App Key passed to the provider.
apiHoststringPlatform API host. Defaults to api.youversion.com.
installationIdstringAnonymous per-install identifier generated by the SDK.
authRedirectUrlstring | undefinedThe auth.redirectUri passed to the provider, or undefined when auth is not configured.

BibleTextView

Render a verse or passage with no surrounding card. You control the layout.

Code
import { BibleTextView } from "@youversion/platform-react-native-expo-ui"; <BibleTextView reference="JHN.3.16" versionId={3034} showVerseNumbers />;

Important: When you use BibleTextView, you are responsible for displaying the Bible version's copyright attribution, as required by its license. If you want attribution handled automatically, use BibleCard instead. See Copyright & Attribution.

Props:

PropTypeDefaultDescription
referencestringrequiredUSFM chapter (PSA.23), verse (JHN.3.16), or verse range within one chapter (PSA.23.1-6).
versionIdnumberrequiredBible version ID.
scriptureDirection"ltr" | "rtl"—Set ltr or rtl. When omitted, the version's text direction is used. See Text direction.
fontFamilyFontFamily—Installed font name or an SDK font. CSS stacks and keywords use an SDK face.
fontSizenumber16Font size.
lineHeightnumberreader defaultMultiple of fontSize. 2 draws twice the font size.
showVerseNumbersbooleantrueShow verse numbers.
renderNotesbooleantrueRender footnote markers (tapping opens a footnote sheet).
selectedVersesreadonly number[]—Verse numbers to show as selected.
onVerseSelect(verses: number[]) => Promise<void>—Fires when the user changes verse selection.
passageStateBibleTextViewPassageState—Supply passage HTML yourself and skip the fetch.
onFootnotePress(data: FootnoteData) => Promise<void>—Override the default footnote sheet.
theme"light" | "dark" | "system"providerTheme override.

A range across chapters, or a comma-separated list, shows “This passage is unavailable in the selected Bible version.”

Pass a font name your app has installed. sans-serif, system-ui, and stacks that end in them draw Inter. Other CSS stacks, generic keywords, and var() draw the reader serif.

Saved highlights for that passage are drawn on the text. A failed load shows a message and Retry.


BibleCard

A pre-styled card displaying a passage with its reference, text, verse numbers, and automatic copyright attribution. maxWidth caps the card width. A version picker that opens in a bottom sheet is built in but hidden by default. Pass showVersionPicker to enable it. A range that starts at verse 1 keeps a Psalm title. A section heading stays when the next verse is in the range.

Code
import { BibleCard } from "@youversion/platform-react-native-expo-ui"; <BibleCard reference="JHN.3.16" versionId={3034} />;

Props:

PropTypeDefaultDescription
referencestringrequiredChapter, verse, or verse range within one chapter. Same shapes as BibleTextView.
scriptureDirection"ltr" | "rtl"—Text direction. When omitted, direction follows the strong letters in the passage.
versionIdnumber3034Bible version ID. Seeds the version picker.
defaultVersionIdnumber3034Initial version when used uncontrolled.
showVersionPickerbooleanfalseShow the built-in version picker button. Hidden by default.
onVersionChange(versionId: number) => void—Called when the version changes. Provide with versionId for controlled use.
onVersionPickerPress(data: BibleVersionPickerPressData) => Promise<void>—Override — present your own version picker instead of the built-in sheet. Only fires when the picker is shown (showVersionPicker).
onFootnotePress(data: FootnoteData) => Promise<void>—Override the default footnote sheet.
maxWidthnumber | "100%"700Max width of the card. "100%" fills the parent and keeps the inner column at 600.
background"light" | "dark"—Color scheme for the card when theme is omitted.
theme"light" | "dark" | "system"providerTheme override. Wins over background.

versionId follows the React controlled/uncontrolled pattern: pass versionId and onVersionChange together for a controlled card; pass versionId (or defaultVersionId) alone to seed an uncontrolled card whose version picker manages its own state.


BibleReader

A complete Bible reading experience. Passage text, plus built-in chapter, version, Search, and reader-settings sheets. Drop it into a tab or full screen.

Code
import { BibleReader } from "@youversion/platform-react-native-expo-ui"; <BibleReader defaultVersionId={3034} />;

Pass a ref for refreshHighlights(), which reloads highlights for the chapter on screen.

onHighlightError reports highlight changes the SDK hasn't confirmed as saved. When status is queued, the change stays visible and the SDK retries later; delivery is not guaranteed. When status is error and reason is transient, the SDK can roll back the visible change. Don't count on a retry.

clearSelectionSignal dismisses the current verse selection when you increment it; the value at mount is the baseline.

BibleReader is stateful: it owns the current book, chapter, and version, persists the reading location across app launches, and coordinates its built-in sheets. Each of book / chapter / version can also be controlled.

Props:

PropTypeDefaultDescription
defaultBookstring"JHN"Initial book (3-letter USFM code) when uncontrolled.
book / onBookChangestring / (book: string) => Promise<void>—Controlled book.
defaultChapterstring"1"Initial chapter when uncontrolled.
chapter / onChapterChangestring / (chapter: string) => Promise<void>—Controlled chapter.
defaultVersionIdnumber3034Initial version when uncontrolled.
versionId / onVersionChangenumber / (versionId: number) => Promise<void>—Controlled version.
showToolbarbooleantrueShow the toolbar. false also hides the built-in chapter, version, Search, and settings sheets.
onChapterPickerPress(data: BibleChapterPickerPressData) => Promise<void>—Override — present your own chapter picker.
onVersionPickerPress(data: BibleVersionPickerPressData) => Promise<void>—Override — present your own version picker.
onFootnotePress(data: FootnoteData) => Promise<void>—Override the default footnote sheet.
onVerseSelect(selection: BibleReaderVerseSelection) => Promise<void>—Fires on every verse selection change. Fires with verses: [] when the selection clears.
onHighlightError(error: HighlightWriteError) => void—Reports queued or failed highlight changes.
clearSelectionSignalnumber0Increment to clear the current verse selection from native.
refRef<BibleReaderHandle>—Imperative handle with refreshHighlights().
onCopy(data: BibleReaderShareData) => Promise<void>—Override — handle Copy yourself instead of the default.
onShare(data: BibleReaderShareData) => Promise<void>—Override — handle Share yourself instead of the default.
backgroundColorstring—Override the reader background color.
foregroundColorstring—Override the reader text color.
navigationBibleReaderNavigation—See createBibleReaderNavigation().
theme"light" | "dark" | "system"providerTheme override.

The toolbar includes chapter and version controls, Search, and settings. Sign out asks for confirmation. Search opens a sheet. A verse result loads that chapter and focuses the verse. showToolbar={false} hides the toolbar and the built-in sheets. See Search.

Use navigation to open a passage in the reader.

Create the object with createBibleReaderNavigation(), then pass it as navigation.

request opens the chapter and does not focus a verse.

focusReference opens the chapter and focuses a verse. On initial load, the other verses in the chapter are dimmed. Scrolling is the default. Pass false to focus without scrolling.

You can call either method before the reader mounts. A newer call replaces an older one. The reader applies each request once.

For a verse range, pass the original passage id as passageId so the reader keeps the full range.

Code
import { useMemo } from "react"; import { BibleReader, createBibleReaderNavigation } from "@youversion/platform-react-native-expo-ui"; const navigation = useMemo(() => { const readerNavigation = createBibleReaderNavigation(); readerNavigation.request({ versionId: 111, bookId: "JHN", chapter: 3, verse: 16 }); return readerNavigation; }, []); <BibleReader navigation={navigation} defaultVersionId={3034} />;

Custom picker flows

To present your own picker UI instead of the built-in sheets, implement onChapterPickerPress or onVersionPickerPress. The matching built-in sheet is suppressed and you receive the current selection:

Code
<BibleReader defaultVersionId={3034} onVersionPickerPress={async ({ versionId, languageId }) => { // present your own version picker }} />

VerseOfTheDay

Display the YouVersion Verse of the Day. The card shows verse numbers and the Bible App wordmark. For the version copyright, see Copyright & Attribution.

Code
import { VerseOfTheDay } from "@youversion/platform-react-native-expo-ui"; <VerseOfTheDay versionId={3034} />;

Props:

PropTypeDefaultDescription
background"light" | "dark"—Color scheme when theme is omitted.
onShare(source: VerseOfTheDayShareData) => Promise<void>—Override the default share sheet on iOS and Android.
versionIdnumber3034Bible version ID.
dayOfYearnumbertodayDay of the year (1–366).
showSunIconbooleantrueShow the decorative sun icon.
showBibleAppAttributionbooleantrueShow the YouVersion Bible App attribution.
showShareButtonbooleantrueShow the share button.
size"default" | "lg""default"Card size.
theme"light" | "dark" | "system"providerTheme override.

A footnote marker opens the footnote sheet.


YouVersionAuthButton

Pre-styled button for YouVersion authentication. Handles sign-in and sign-out via useYVAuth internally — you do not wire up signIn() yourself unless you need a fully custom UI (see Authentication).

Code
import { YouVersionAuthButton } from "@youversion/platform-react-native-expo-ui"; <YouVersionAuthButton mode="auto" background="light" />;

The button is an outlined pill with the Bible App logo beside the label. The label wraps to two lines.

Props:

PropTypeDefaultDescription
mode"signIn" | "signOut" | "auto""auto""auto" shows sign-in when signed out and sign-out when signed in.
background"light" | "dark""light"Forces the light or dark token scheme so the logo stays readable.
textstring—Override the default localized button label.

Examples:

Code
<YouVersionAuthButton background="dark" /> <YouVersionAuthButton mode="signIn" />

Theming

Set a default theme on the provider with the theme prop, and override it per component with each component's theme prop.

ValueBehavior
"light"Light mode.
"dark"Dark mode.
"system"Follows the device's OS light/dark setting, live (default).
Code
<YouVersionProvider appKey="YOUR_APP_KEY" theme="system"> {/* Forces dark styling regardless of the provider/OS theme */} <BibleCard reference="JHN.3.16" versionId={3034} theme="dark" /> </YouVersionProvider>

Advanced: standalone sheets

BibleReader already manages its own chapter, version, and settings sheets, so most apps never need these. For custom flows, the sheets are exported so you can present them yourself. Each is controlled via isOpen / onClose.

Code
import { BibleChapterPickerSheet, BibleVersionPickerSheet, BibleReaderSettingsSheet, } from "@youversion/platform-react-native-expo-ui";

BibleVersionPickerSheet

Code
<BibleVersionPickerSheet isOpen={open} onClose={() => setOpen(false)} versionId={versionId} onSelect={(versionId) => setVersionId(versionId)} />
PropTypeDefaultDescription
isOpenbooleanrequiredWhether the sheet is open.
onClose() => voidrequiredCalled when the sheet should close.
versionIdnumber3034Currently selected version.
onSelect(versionId: number) => void | Promise<void>—Called when a version is selected.
theme"light" | "dark" | "system"providerTheme override.

BibleChapterPickerSheet

Code
<BibleChapterPickerSheet isOpen={open} onClose={() => setOpen(false)} book="JHN" chapter="1" versionId={3034} onSelect={({ book, chapter }) => { /* ... */ }} />
PropTypeDefaultDescription
isOpenbooleanrequiredWhether the sheet is open.
onClose() => voidrequiredCalled when the sheet should close.
bookstring"JHN"Currently selected book.
chapterstring"1"Currently selected chapter.
versionIdnumber3034Version whose books/chapters to show.
onSelect(data: BibleChapterPickerSelectData) => void | Promise<void>—Called with { book, chapter, versionId }.
theme"light" | "dark" | "system"providerTheme override.

BibleChapterPicker

The book and chapter list without a sheet. Use it when your app owns presentation. It is the same picker the sheet hosts. The current book starts expanded. A search field filters book titles. An order control switches between the version's book order and alphabetical order.

Code
import { BibleChapterPicker } from "@youversion/platform-react-native-expo-ui"; <BibleChapterPicker book="JHN" chapter="1" versionId={3034} onSelect={({ book, chapter }) => { /* ... */ }} />
PropTypeDefaultDescription
bookstring"JHN"Currently selected book.
chapterstring"1"Currently selected chapter.
versionIdnumber3034Version whose books and chapters to show.
onSelect(data: BibleChapterPickerSelectData) => void | Promise<void>—Called with { book, chapter, versionId }.
styleStyleProp<ViewStyle>—Style for the picker root.

BibleReaderSettingsSheet

Controls for reader font size, font family, and line spacing. The sheet reads and writes those values from the shared reader settings store.

PropTypeDefaultDescription
isSettingsSheetOpenbooleanrequiredWhether the sheet is open.
onClose() => voidrequiredCalled when the sheet should close.
theme"light" | "dark" | "system"providerTheme override.
Last modified on December 2, 2026
Quick StartSearch
On this page
  • YouVersionProvider
    • Limit which Bible versions the SDK uses
    • useYouVersion
  • BibleTextView
  • BibleCard
  • BibleReader
    • Custom picker flows
  • VerseOfTheDay
  • YouVersionAuthButton
  • Theming
  • Advanced: standalone sheets
    • BibleVersionPickerSheet
    • BibleChapterPickerSheet
    • BibleChapterPicker
    • BibleReaderSettingsSheet
React
React
React
React
React
React
React
React
React
React
React
React
React
React
React
React
React
React