Problem: When reading continuous Bible text, users need a way to identify and reference specific verses — whether for personal study, sharing a reference with someone, or navigating to a specific location.
Solution: Small superscript numbers before each verse, styled to be visible but unobtrusive. They don't interfere with reading flow but are always available for reference.
Not included: Clickable verse numbers that link somewhere, or verse-level bookmarking (those are separate features).
Each verse in the reader has a small number before its text, showing which verse it is within the chapter. The numbers are superscript (raised and smaller than the main text), following the convention used in printed Bibles.
User flow:
Edge cases:
Typography:
<sup> (HTML superscript)var(--color-verse-number) — a muted tone that doesn't compete with the textmargin-right: 0.125rem (2px) between number and textBehavior:
user-select: none — cannot be selected by mouse/toucharia-hidden="true" — hidden from screen readersResponsive: Same on all screen sizes — the superscript scales with the reader font size.
Rendering: Part of VerseText.svelte — each verse renders its number inline:
<sup class="mr-0.5 text-[0.65em] font-normal select-none"
style="color: var(--color-verse-number)"
aria-hidden="true">{verse.verse}</sup>
Data: The verse number comes from verses.verse column in the database.
Files:
apps/web/src/lib/components/bible/VerseText.svelte — verse number renderingCurrent: DONE Milestone: v1 Priority: Core — fundamental to Bible reading
History:
Dependencies: