Calix

Start here

Choose the right Calix entry point, then install and render it.

Calix is an accessible React date picker with separate calendar adapters. Pick the UI you need, add one adapter, then choose either the included CSS theme or your own styles.

Choose your starting point

You needStart here
A date input with a popup calendarInstall Calix, then render a DatePicker
A calendar that is always visibleInstall Calix, then render a Calendar
A custom design-system UISet up styles, then use hooks or compound parts

New to Calix? Follow this order without skipping ahead:

  1. Install the React package and one adapter.
  2. Put the optional CSS import in the right framework file.
  3. Copy the first picker.
  4. Choose a guide for another calendar, selection and output, constraints, or custom styling.

What you get

  • Selection: single, multiple, range, week, month, quarter, and year modes.
  • Calendars: Gregorian, Jalali/Persian, Hijri (Umm al-Qura), and Thai Buddhist adapters; custom adapters are supported.
  • Rendering choices: DatePicker for a popover, Calendar for inline use, or hooks and compound components for complete DOM control.
  • Constraints: min/max dates, allow/deny lists, weekdays, months, years, holidays, business days, and a custom disabled-date predicate.
  • Localization: BCP-47 locales, RTL, localized digits, labels, and configurable week starts.
  • Styling: no required CSS framework; semantic classes, data-* state, and optional themes.
  • Accessibility: keyboard navigation, roving focus, ARIA grid semantics, and focus restoration.
SunMonTueWedThuFriSat

Packages

PackagePurpose
@alydev/datepickerReact components, hooks, and public value helpers.
@alydev/coreCalendar contracts, selection strategies, validation, parsing, and formatting.
@alydev/adapter-gregorianGregorian adapter, backed by date-fns.
@alydev/adapter-jalaliJalali/Persian adapter, backed by date-fns-jalali.
@alydev/adapter-hijriHijri (Umm al-Qura) adapter backed by the platform ICU calendar.
@alydev/adapter-buddhistThai Buddhist adapter using Buddhist Era years.
@alydev/holidays-iranMaintained Iranian public-holiday data for Jalali years 1400–1420.
@alydev/holidays-internationalNew Year's Day and Christmas Day data for 2000–2100.
@alydev/themesOptional default and minimal CSS themes.
@alydev/iconsTree-shakeable SVG icons.

The React package needs one adapter. Themes are optional; they never load by default. Continue with Installation.

On this page