Overview
Open Mushaf Native provides instant access to authentic Tafseer (Quranic commentary) from renowned Islamic scholars. Simply tap any verse to view its explanation in a bottom sheet popup with multiple commentary sources.Available Commentaries
The app includes 11 comprehensive Tafseer sources:تفسير ابن كثير
Ibn Katheer - Classical Tafseer focusing on authentic narrations
تفسير الطبري
Al-Tabari - Comprehensive early Tafseer with historical context
تفسير القرطبي
Al-Qurtubi - Focus on legal rulings and jurisprudence
تفسير السعدي
As-Sa’di - Modern, concise, and clear explanations
التفسير الميسر
Al-Muyassar - Simplified Tafseer for easy understanding
تفسير البغوي
Al-Baghawi - Moderate approach between narration and reasoning
معاني القرآن
Meanings of the Quran - Linguistic and grammatical explanations
إعراب القرآن
Quranic Grammar - Detailed grammatical analysis
أسباب النزول
Asbab an-Nuzul (Al-Wahidi) - Reasons and context of revelation
التحرير والتنوير
At-Tahrir wa At-Tanwir - Modern comprehensive commentary
الوسيط
Al-Waseet - Moderate middle-ground approach
How to Use Tafseer
Tafseer Popup Component
Bottom Sheet Implementation
components/TafseerPopup.tsx
The popup opens at 70% height by default and can be resized to 40% or 90% by dragging the handle.
Tafseer Tab System
Tab Labels
components/Tafseer.tsx
Dynamic Tab Loading
The app intelligently loads Tafseer content:components/Tafseer.tsx
Content Availability
Smart Tab Indicators
Not all Tafseers contain commentary for every verse. The app shows which sources have content:- Dimmed (opacity: 0.5)
- With strikethrough text decoration
Why are some tabs disabled?
Why are some tabs disabled?
Some Tafseer sources don’t provide commentary for certain verses, particularly short verses or specific types of content. This is normal and reflects the original scholarly works.
Tafseer Content Hook
Formatting HTML
hooks/useTafseerContent.ts
Checking Content Availability
Persistent Selection
Your last selected Tafseer tab is remembered:jotai/atoms.ts
The app remembers your preferred Tafseer source across sessions, opening the same tab next time.
Styling and Display
HTML Rendering
Tafseer content uses HTMLView for proper Arabic text rendering:Visual Features
- Right-to-left text direction for Arabic
- Custom Arabic font (Tajawal)
- Optimized line height for readability
- Theme-aware text colors
- Smooth scrolling for long commentaries
Performance Optimization
Lazy Loading
Tafseer files are only loaded when their tab is selected
Content Checking
Pre-checks all sources to show which have content before you click
Opacity Animation
Smooth opacity transition during sheet resizing for better UX
Mounted State
Prevents memory leaks when switching verses quickly