Skip to content

Installation

Get started with ilamy Calendar by installing it via your preferred package manager:

Terminal window
npm install @ilamy/calendar dayjs

dayjs is included above because it is a peer dependency (see below).

ilamy Calendar declares a few packages as peer dependencies so your app and the calendar share a single copy. This matters most for dayjs: the calendar’s API uses dayjs objects (e.g. CalendarEvent.start), and date labels are localized through your app’s dayjs instance. A shared copy means the dayjs locale you import in your app also applies to the calendar (no extra wiring).

  • dayjs (^1.11.20)
  • react and react-dom (^19)
  • tailwindcss (^4) and tailwindcss-animate

The install command above already adds dayjs. Your React and Tailwind setup typically provides the rest (react, react-dom, tailwindcss, tailwindcss-animate); install any that are missing.

To localize date labels, set the locale prop and import the matching dayjs locale once in your app. See Internationalization.