Skip to main content

Variable: HONORIFICS

const HONORIFICS: readonly ["", "Mr.", "Ms.", "Mrs.", "Mx.", "Dr.", "Prof."]

Defined in: src/lib/names/honorific.ts:11

Honorific (name prefix) options + a best-effort guess from a first name (pure, no I/O).

IMPORTANT: guessing an honorific means guessing gender, which is frequently wrong and culturally fraught. guessHonorific only fires for a curated set of high-confidence common given names and returns '' otherwise — it's a SUGGESTED, always-editable default, never a hard assignment. Women default to the marital-status-neutral "Ms." (never "Mrs."). Treat a stored honorific as truth and only fall back to the guess when the field is blank.