BibleTextView component provides a complete solution for displaying Bible passages with automatic formatting, verse numbers, footnotes, and more.
Basic Usage
Display a single verse by providing a USFM reference and version ID:USFM Reference Format
Thereference prop uses USFM (Unified Standard Format Markers) format:
- Single verse:
JHN.3.16 - Verse range:
JHN.3.16-17 - Entire chapter:
JHN.3 - Book abbreviations: Use 3-letter USFM codes (e.g.,
GEN,MAT,JHN,ROM)
Customizing Appearance
Control the visual presentation with font and layout options:Working with Loading States
The component automatically handles loading and error states:Interactive Features
Verse Selection
Enable verse selection for highlighting and user interaction:Footnotes
Footnotes are automatically rendered as interactive popovers whenrenderNotes={true}:
Advanced: Providing Your Own Data
If you’re fetching passage data separately, you can provide it directly:Low-Level Rendering
For complete control, use theVerse.Html component directly:
Complete Example
Here’s a full example combining multiple features:Related Components
- Verse of the Day - Display the daily verse in a card format
- Bible Reader - Full-featured reading experience
- Version Picker - Let users choose Bible versions
