Buddhist (Thai) Calendar
DayPicker supports the Buddhist (Thai) calendar via a dedicated build. Months and weeks remain Gregorian, while years render in Buddhist Era (BE = CE + 543) and Thai numerals by default.
Import DayPicker from react-day-picker/buddhist to render Buddhist years while keeping the usual DayPicker API.
import { DayPicker } from "react-day-picker/buddhist";
Basic usage
import { DayPicker } from "react-day-picker/buddhist";
<DayPicker />;
English locale with latin numerals
import { DayPicker } from "react-day-picker/buddhist";
import { enUS } from "react-day-picker/locale";
<DayPicker locale={enUS} numerals="latn" />;