Installation
Key Features
- Automatic Style Injection: Styles are automatically injected when you import the package
- Light/Dark Theme Support: All components support light and dark themes
- Accessibility: Built with Radix UI primitives for WCAG compliance
- Customizable: Extensive props for controlling appearance and behavior
- Type-Safe: Full TypeScript support with exported types
Provider Setup
Wrap your application with theYouVersionProvider to enable all UI components:
Available Components
Reading Components
- BibleTextView - Display Bible passages with verse numbers and footnotes
- BibleReader - Full-featured Bible reading experience with navigation
- VerseOfTheDay - Display the daily verse in a card format
- BibleCard - Embeddable Bible passage card
Picker Components
- BibleVersionPicker - Select Bible versions with language filtering
- BibleChapterPicker - Navigate books and chapters
Authentication
- YouVersionAuthButton - Sign in/out with YouVersion OAuth
Theming
All components support light and dark themes via thebackground prop or the global theme provider:
Styling
The package uses Tailwind CSS with theyv: prefix to prevent naming collisions with your application’s styles. All styles are automatically injected - no additional setup required.
