Skip to content

TkxCalendarLunar

import { TkxCalendarLunar } from 'tekivex-ui';
<TkxCalendarLunar
value={date}
onChange={setDate}
calendar="hindu"
showSecondary="gregorian"
/>

Renders a date picker with two calendars side by side — your primary calendar (Gregorian by default) with the secondary calendar’s day/month shown beneath each date cell.

CalendarMethodCoverage
gregorianIntl.DateTimeFormatalways
hinduTithi + Nakshatra via mean-longitude approximation±1 day from drik panchang
hijriIntl.DateTimeFormat (Umm-al-Qura where supported)full
hebrewIntl.DateTimeFormatfull
buddhistIntl.DateTimeFormat (Thai Buddhist Era)full
PropTypeDefault
valueDate | nullnull
onChange(d: Date | null) => void
calendar'gregorian' | 'hindu' | 'hijri' | 'hebrew' | 'buddhist''gregorian'
showSecondarysame union or falsefalse
localestringnavigator.language
  • Both calendars announced together: “March 14, 2026 / Phalguna Krishna 11”
  • Keyboard nav (←↑→↓) operates on the primary calendar’s grid
  • Screen-reader text uses the primary calendar’s date for navigation