This package renders DayPicker with Jalali calendar month and year logic. It uses the Persian Iran locale, Eastern Arabic-Indic numerals, and right-to-left direction by default.
Installation
Install the React DayPicker package with the Persian calendar addon:
npm install @daypicker/react @daypicker/persian
Usage
import { DayPicker } from "@daypicker/persian";
import "@daypicker/react/style.css";
export function PersianCalendar() {
return <DayPicker mode="single" />;
}