Best JavaScript Calendar Libraries in 2026: 8 Vanilla JS Calendars Compared

Short answer. Choose Vanilla Calendar Pro if you want a free, zero-dependency calendar that is still released and covers ranges, multiple dates, several months and week numbers. Choose flatpickr in inline mode if you want the broadest free feature set and can live with a library whose last release is from April 2022. Choose Cally if you want small web components with a documented accessibility approach. Choose Vanilla JS Datepicker if you need ready Bootstrap 5 styles for free. Choose CoreUI PRO if your project runs on Bootstrap or CoreUI and you want one calendar that selects days, weeks, months, quarters or years, with ranges and custom cells.

This page is about calendars rendered in the page as a view of their own, without a framework. If you need a form field that opens a calendar in a popup, see Best JavaScript Date Pickers.

How we compared

We compared 8 libraries on November 14, 2026. For each one we read the published type definitions or option reference of the latest version, the README or docs, and the npm registry and GitHub for the version, release date, license and repository status. We did not run the libraries in a browser for this page, so the table describes what is documented and typed. A ❌ means the gap is confirmed: the docs say so, or the complete option list has nothing of the kind. When we could not confirm either way, we write — (no data). CoreUI publishes this page; CoreUI’s own gaps are marked ❌ from its complete option reference.

The comparison at a glance

Legend: ✅ built in · Partial = plugin, separate class, views only, or some of the options · ❌ confirmed missing · — no data

Library (version, last release) Range Multiple dates Week / month / quarter / year as value Months side by side Week numbers Disable dates with a function Custom day cell License
Vanilla Calendar Pro 3.4 (Sep 2026) ✅ ✅ Partial (month, year views) ✅ ✅ ❌ ✅ MIT
flatpickr 4.6 (Apr 2022) ✅ ✅ Partial (week and month plugins) ✅ ✅ ✅ ✅ MIT
Air Datepicker 3.6 (May 2025) ✅ ✅ Partial (month, year) ❌ ❌ ✅ ✅ MIT
Vanilla JS Datepicker 1.3 (Aug 2023) Partial (two inputs) ✅ Partial (month, year) ❌ ✅ ✅ ✅ MIT
Cally 0.9 (Feb 2026) ✅ ✅ ❌ ✅ ✅ ✅ Partial (CSS parts) MIT
Tempus Dominus 6.10 (May 2025) ✅ ✅ Partial (month, year) ❌ ✅ ❌ Partial (plugin) MIT
Web Awesome Pro 3.14 (Sep 2026) ✅ — — ✅ (two) ✅ ✅ ✅ Paid Pro subscription
CoreUI for Bootstrap PRO 5.29 (Oct 2026) ✅ ❌ ✅ (all four) ✅ ✅ ✅ ✅ CoreUI PRO, $127/dev perpetual

None of the free libraries has a time zone option in its type definitions or option reference, and neither does CoreUI: values are dates in the browser’s zone.

The libraries, one by one

Vanilla Calendar Pro

Vanilla Calendar Pro 3.4.0 (MIT, released September 22, 2026) has zero dependencies and renders inline by default: you call it on a div, and a popup needs inputMode. selectionDatesMode covers single, multiple and ranged selection. displayMonthsCount shows up to 12 months, enableWeekNumbers adds week numbers, onCreateDateEls lets you change each day element, and popups attach notes to dates. Month and year exist as calendar types with click callbacks. The week type shows a single week of days, not a week as a value; a click on a week number gives you that week’s dates to select in your own code. Disabled dates are arrays and weekday lists; the options have no function for it. Its README states that keyboard navigation, screen-reader labels and managed focus are built in. One thing to know about version 3: ESM applications import and register the extensions they use, such as months, weeks and time.

Choose it if you want a free, dependency-free calendar that is actively released.

flatpickr

flatpickr 4.6.13 (MIT) becomes a calendar in the page with inline: true. mode covers single, multiple and range, showMonths renders several months, weekNumbers adds week numbers, disable accepts dates, ranges and functions, and onDayCreate gives you each day element. Week and month selection ship as plugins in the package; there is no quarter or year plugin. It also has a built-in time picker and 66 locale files. The caveat is release activity: the last npm release is from April 14, 2022, and the last repository push from August 2024. It is still downloaded 2.3 million times a week.

Choose it if you want the widest free feature set and accept that fixes may be yours.

Air Datepicker

Air Datepicker 3.6.0 (MIT, released May 18, 2025) has an inline option, range, multipleDates, and month and year pickers through minView. onRenderCell is its strongest feature: for each cell it can return HTML, classes, attributes and a disabled flag. It also has a time picker and 33 locale files. Its options have nothing for several months side by side or week numbers.

Choose it if you need custom cell content in a single-month calendar.

Vanilla JS Datepicker

Vanilla JS Datepicker 1.3.4 (MIT, released August 8, 2023) describes itself as a vanilla JavaScript remake of bootstrap-datepicker. Attach it to a block element and it renders inline. It ships a Bootstrap 5 stylesheet (datepicker-bs5.css), next to ones for Bootstrap 4, Bulma and Foundation. It has maxNumberOfDates for multiple dates, pickLevel for month and year values, weekNumbers, datesDisabled with a callback, and beforeShowDay for cell content and classes. Its range support is a separate DateRangePicker class that works on two inputs. There is no multi-month option and no time picker.

Choose it if you want Bootstrap 5 styling for free and single or multiple dates are enough.

Cally

Cally 0.9.2 (MIT, released February 5, 2026) is a set of web components: <calendar-date>, <calendar-range> and <calendar-multi>, each containing one or more <calendar-month> elements. It has months, showWeekNumbers, an isDateDisallowed function, locale, and RTL through CSS logical properties. Its README gives a size under 9 KB and one dependency (atomico), and its accessibility page describes how ARIA and focus are handled. Days are styled through CSS parts (getDayParts); there is no slot for custom content per day, and there is no week, month or year value mode. It is still before version 1.0.

Choose it if you want small, standards-based components and you only select dates.

Tempus Dominus

Tempus Dominus 6.10.4 (MIT, released May 7, 2025) is a date and time picker with display.inline. It has dateRange, multipleDates, calendarWeeks, and month or year pickers by turning off components. Restrictions are arrays (disabledDates, daysOfWeekDisabled), not functions. It needs Popper 2 as a peer dependency; Bootstrap and jQuery are no longer required. Read the README before adopting it: the maintainer writes that support is paid only, that he is moving on to other projects, and that new issues need to be sponsored.

Choose it if you need date and time together and accept its support status.

Web Awesome Pro Date Picker

Web Awesome 3.14.0 has no calendar in its free MIT package. <wa-date-picker>, an inline calendar grid, is part of the paid Web Awesome Pro subscription. Its docs list mode="range" with minimum and maximum lengths, months="2", ISO week numbers, an isDateDisabled function, and custom day content through slots or a dayContent function. The docs state that it follows the WAI-ARIA date picker pattern. We could not confirm a multiple-date mode or period values.

Choose it if you already pay for Web Awesome Pro.

CoreUI Calendar

Our own entry. CoreUI Bootstrap Calendar (@coreui/coreui-pro 5.29.2) is a CoreUI PRO component: $127 per developer, perpetual, 12 months of updates. The free @coreui/coreui package has no calendar. Six of the seven libraries above are free, so here is what the license buys. selectionType switches between day, week, month, quarter and year selection, the only entry in this table with all four periods as values, and range works with each. calendars shows several panels. disabledDates takes dates, ranges and functions. renderDayCell, renderMonthCell, renderQuarterCell and renderYearCell return HTML for each cell, sanitized by default; the docs include a pricing calendar built this way. It works from data attributes or JavaScript and has an Intl-based locale and documented RTL with Hebrew and Persian examples.

Where CoreUI loses: there is no multiple-date mode, which every free library above has. It has no time zone option. It needs CoreUI’s CSS, so it is not a drop-in for a page with no framework styles. And it is paid.

Choose it if your project is built on Bootstrap or CoreUI and you need period selection or annotated cells in the same style as the rest of the UI. Team prices are on the pricing page.

Release activity in 2026: what to check before you pick

Release dates differ more here than features do. Vanilla Calendar Pro (September 2026) and Cally (February 2026) released this year. Air Datepicker and Tempus Dominus last released in May 2025, Vanilla JS Datepicker in August 2023 and flatpickr in April 2022.

Two well-known names are left out of the table because their repositories are archived. Litepicker’s last release is 2.0.12 from October 2021. Pikaday’s last release is 1.8.2 from October 2020, and its README now says the project has not been actively maintained for years and is probably not the right choice today.

Check the npm registry on the day you decide; this page reflects November 14, 2026.

When the calendar has to show appointments

These are date grids. Vanilla Calendar Pro’s popups, Air Datepicker’s onRenderCell and CoreUI’s render functions are enough for a note, a price or a dot on a day. Timed events, drag and drop, recurrence and resource views are a different kind of component. For those, see our FullCalendar alternatives comparison, the guide to calendar and scheduler options for Bootstrap, or CoreUI Scheduler, which has a JavaScript edition.

FAQ

What is the best free JavaScript calendar library?

Vanilla Calendar Pro if release activity matters to you, flatpickr in inline mode if you want the most features and accept a 2022 release. Cally is the choice for web components.

Which JavaScript calendar has Bootstrap 5 styles?

Vanilla JS Datepicker ships a Bootstrap 5 stylesheet in its package. CoreUI Calendar is part of CoreUI for Bootstrap and is styled like its other components. For the other libraries we did not confirm a Bootstrap theme.

Which calendars can select a week, month, quarter or year?

CoreUI Calendar covers all four with selectionType. flatpickr has week and month plugins. Air Datepicker, Vanilla JS Datepicker and Tempus Dominus cover month and year. Vanilla Calendar Pro has month and year views with click callbacks, and its week-number click callback lets you select a week in your own code.

Is flatpickr still maintained?

Its repository is not archived, but the last npm release, 4.6.13, is from April 14, 2022, and the last push is from August 2024. It still works and is widely used; plan to handle fixes yourself.

What is the difference between a calendar and a date picker?

A calendar is the month grid rendered in the page. A date picker is a form field that opens that grid in a popup and adds typing, formatting and validation. Fields are compared in Best JavaScript Date Pickers.