JavaScript calendar libraries

Updated Nov 2026

JavaScript calendar libraries render date pickers for form inputs and full calendars that display scheduled events. A date picker returns one chosen date or range to a form field. These libraries handle booking forms, scheduling screens, and team calendars in web apps.

Popularity

flatpickr has the most monthly downloads in this comparison, at 9.4M.

LibraryMonthly downloadsStarsLast releaseLicense
flatpickr
9.4M
16.4KApr 2022MIT
flowbite-datepicker
1.8M
146Nov 2025MIT
Pikaday
1.7M
8.1KOct 20200BSD OR MIT
@syncfusion/ej2-calendars
1.6M
450Nov 2026Syncfusion license
air-datepicker
1.6M
2.9KMay 2025MIT
FullCalendar
1.4M
20.8KNov 2026MIT
Schedule-X
1.1M
2.6KSep 2026MIT
bootstrap-datepicker
931.2K
12.6KSep 2025Apache-2.0
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

Provides configurable date, time, and date-range input controls.

Downloads / mo
9.4M
Stars
16.4K
Last release
4.6.13
License
MIT

Strengths

  • Combines date and time entry. Enable the time picker alongside the calendar input.
  • Blocks unavailable dates. Disable individual dates, ranges, or dates matched by a function.

Limitations

  • Mobile controls change by default. Mobile browsers use native date controls until unsupported features need flatpickr.

Quickstart

From getting-started
$ npm install flatpickr
import flatpickr from 'flatpickr';
import 'flatpickr/dist/flatpickr.min.css';

flatpickr('#date');

flatpickr examples

From open-source projects on GitHub

flowbite-datepicker

Provides Tailwind-styled date inputs, inline calendars, and date-range controls.

Downloads / mo
1.8M
Stars
146
Last release
2.0.0
License
MIT

Strengths

  • Fits existing Tailwind interfaces. Use a date picker built with Tailwind utility classes.
  • Coordinates paired date inputs. DateRangePicker controls a start-date input and an end-date input.

Limitations

  • Inline calendars lack keyboard operation. Use an input-attached picker when keyboard interaction matters.
  • Typing errors can change dates. The tolerant parser can turn a mistyped input into an unexpected date.

Quickstart

From live-demo.js
$ npm install flowbite-datepicker
import Datepicker from 'flowbite-datepicker/Datepicker';

new Datepicker(document.getElementById('date'), { autohide: true });

flowbite-datepicker examples

From open-source projects on GitHub

Provides a date picker input with no dependencies.

Downloads / mo
1.7M
Stars
8.1K
Last release
1.8.2
License
0BSD OR MIT

Limitations

  • Archived and unmaintained. The maintainers archived the repository and call it probably not the right choice today.

Quickstart

From README.md
$ npm install pikaday
import Pikaday from 'pikaday';
import 'pikaday/css/pikaday.css';

new Pikaday({ field: document.getElementById('date') });

@syncfusion/ej2-calendars

Provides calendar, date picker, date range picker, date time picker, and time picker components.

Downloads / mo
1.6M
Stars
450
Last release
35.2.12
License
Syncfusion license

Quickstart

From getting-started
$ npm install @syncfusion/ej2-calendars
import { DatePicker } from '@syncfusion/ej2-calendars';
import '@syncfusion/ej2-base/styles/material.css';
import '@syncfusion/ej2-buttons/styles/material.css';
import '@syncfusion/ej2-inputs/styles/material.css';
import '@syncfusion/ej2-popups/styles/material.css';
import '@syncfusion/ej2-calendars/styles/material.css';

const datepicker = new DatePicker();
datepicker.appendTo('#element');

air-datepicker

Provides a customizable date picker without a jQuery dependency.

Downloads / mo
1.6M
Stars
2.9K
Last release
3.6.0
License
MIT

Strengths

  • Adds custom date actions. Custom buttons can select a date and change the displayed month.
  • Adjusts ranges by dragging. Change selected range endpoints by dragging dates.

Limitations

  • Inline calendars lose keyboard navigation. Keyboard navigation requires initialization on a text field.
  • English needs a locale import. The default locale is Russian until an imported English locale is passed.

Quickstart

From docs
$ npm install air-datepicker
import AirDatepicker from 'air-datepicker';
import 'air-datepicker/air-datepicker.css';

new AirDatepicker('#date');

air-datepicker examples

From open-source projects on GitHub

FullCalendar

Renders an interactive event calendar with drag-and-drop editing.

Downloads / mo
1.4M
Stars
20.8K
Last release
7.1.5
License
MIT

Strengths

  • Displays editable event calendars. Render events in a calendar with drag-and-drop editing.
  • Selects days and time slots. Enable selectable and load the shipped interaction plugin.

Limitations

  • Resource timelines require Premium. Resource and timeline views use separately licensed Premium plugins.
  • Selection ends are exclusive. A selection ending Friday includes dates through Thursday.

Quickstart

From README.md
$ npm install fullcalendar temporal-polyfill
import { Calendar } from 'fullcalendar';
import classicThemePlugin from 'fullcalendar/themes/classic';
import dayGridPlugin from 'fullcalendar/daygrid';
import 'fullcalendar/skeleton.css';
import 'fullcalendar/themes/classic/theme.css';
import 'fullcalendar/themes/classic/palette.css';

const calendar = new Calendar(document.getElementById('calendar'), {
  plugins: [classicThemePlugin, dayGridPlugin],
  initialView: 'dayGridMonth'
});
calendar.render();

Schedule-X

Renders an event calendar from a configuration object and a list of plugins.

Downloads / mo
1.1M
Stars
2.6K
Last release
4.9.1
License
MIT

Limitations

  • Needs a Temporal polyfill. Install temporal-polyfill alongside the calendar and its default theme.

Quickstart

From core.d.ts
$ npm install @schedule-x/calendar @schedule-x/theme-default preact@^10.19.2 @preact/signals@^2.0.2 temporal-polyfill@0.3.2
import 'temporal-polyfill/global';
import { createCalendar, createViewMonthGrid } from '@schedule-x/calendar';
import '@schedule-x/theme-default/dist/index.css';

const calendar = createCalendar({ views: [createViewMonthGrid()], events: [] });
calendar.render(document.getElementById('calendar'));

bootstrap-datepicker

Provides a date picker widget in the Bootstrap style.

Downloads / mo
931.2K
Stars
12.6K
Last release
1.10.1
License
Apache-2.0

Limitations

  • Requires jQuery. Load jQuery and Bootstrap before calling datepicker on an element.
$ npm install bootstrap-datepicker jquery@^3.4.0
import $ from 'jquery';
import 'bootstrap-datepicker';
import 'bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.min.css';

$('#date').datepicker({ format: 'yyyy-mm-dd' });

FAQ

FullCalendar and Schedule-X display scheduled events across days, weeks, or months. flatpickr, Air Datepicker, and Flowbite Datepicker attach a date picker to a form input, and flatpickr is the most downloaded of them, at 9.4M a month.

flatpickr, Air Datepicker, Flowbite Datepicker, and Pikaday run without jQuery. Bootstrap Datepicker requires jQuery and Bootstrap.

Schedule-X also renders an event calendar, created with createCalendar from a configuration object and a list of plugins. FullCalendar keeps resource and timeline views in separately licensed Premium plugins.

Load the interaction plugin and enable selectable for drag selection.

The selection end is exclusive: an all-day selection through Thursday has Friday as its end.

For coding agents

Found your calendar library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official