Views Calendar Gallery brings twelve free and open-source JavaScript calendar libraries together in one Views style, with a visual builder and a live preview.

Add a calendar to any view: set its format to Calendar gallery, map the fields once (title, start date, and optionally end date, colour, category, description and link), and choose the calendar library you like. Switch library at any time: the field mapping stays. Or let the visual builder create the whole view for you, from a content type and its date field, in one click.

  • Full calendars, compact calendars, a year calendar, a heatmap and a timeline: all free and open source.
  • Visual builder with a live preview, with sample events or your own content.
  • Date, date range (including all-day ranges), Smart Date and timestamp fields, in the visitor's time zone.
  • Colours from a colour field, or one colour per category.
  • Libraries load from the jsDelivr CDN at pinned versions, or from /libraries when you host them yourself.
  • Without JavaScript, the events are listed. Works with Drupal 10.3, 11 and 12.

Visual builder

 every library drawn live with sample events

Structure > Views > Calendar gallery draws every library live with sample events, so you can compare them side by side and click Use on the one you like.

 library, content, options and a live preview

Choose the content type and its date field, tune the options while the live preview follows every change (switch it to My content to see your own events), and click Create view to get a view with a page and a block.

Live preview in the Views UI format settings

The same live preview is at the top of the format settings of any view that uses the Calendar gallery style.

Calendar formats

1. FullCalendar

FullCalendar month view

Full calendar · Licence: MIT · Version 6.1.22 · Project website

The best-known full-sized event calendar, with month, week and day time grids, list views and a multi-month year view. Multi-day events span the days, and a "+ more" link keeps busy days tidy. Only the free MIT plugins are used: the resource and timeline views of FullCalendar are commercial.

Options in the module: initial view, view buttons (month, week, day, list week, list month, year), week numbers, current-time indicator, events per day.

2. EventCalendar

EventCalendar month view

Full calendar · Licence: MIT · Version 5.18.1 · Project website

A lightweight, dependency-free alternative to FullCalendar with the same kind of month, week, day and list views, in one small file.

Options in the module: initial view, view buttons (month, week, day and list views), current-time indicator, more-events link.

3. TOAST UI Calendar

TOAST UI Calendar month view

Full calendar · Licence: MIT · Version 2.1.3 · Project website

A polished, Google-Calendar-like month, week and day calendar. Clicking an event opens a detail popup with its description. One colour per category. The project is archived by its maintainers (it works, but gets no more fixes); its usage statistics are switched off.

Options in the module: initial view, view buttons (month, week, day), narrow weekends, detail popup or link.

4. DayPilot Lite

DayPilot Lite month view

Full calendar · Licence: Apache-2.0 · Version 6.2.0 · Project website

The open-source edition of DayPilot: clean month, week, work-week and day calendars, with a coloured bar per event and business hours in the time views.

Options in the module: initial view, view buttons (month, week, work week, day), business hours.

5. DHTMLX Scheduler (Standard)

DHTMLX Scheduler month view

Full calendar · Licence: GPL-2.0 · Version 7.2.15 · Project website

A Google-like scheduler with day, week and month views, shown read-only. The free Standard edition can show one scheduler per page.

Options in the module: initial view, view buttons (day, week, month), first and last hour of the time views.

6. Calendar.js

Calendar.js month view

Full calendar · Licence: MIT · Version 2.12.6 · Project website

A feature-rich, zero-dependency calendar. Besides the month view, its menu opens day, week, year, all-events and timeline views. Shown read-only, with tooltips.

Options in the module: extra views (day, week, year, all events, timeline), tooltips.

7. vis-timeline

vis-timeline with one row per category

Timeline · Licence: Apache-2.0 or MIT · Version 8.5.6 · Project website

An interactive, zoomable timeline of events and date ranges, with one row per category. Drag to move through time, zoom with the mouse wheel.

Options in the module: initial window (week, month, year, all events), one row per category, stacking, zoom, current time.

8. Vanilla Calendar Pro

Vanilla Calendar Pro with the events of the selected day

Compact calendar · Licence: MIT · Version 3.4.0 · Project website

A modern, accessible compact calendar. Days with events are marked and show a popup with their titles; clicking a day lists its events under the calendar.

Options in the module: months shown (1 to 3), light, dark or system theme.

9. jsCalendar

jsCalendar with event days highlighted

Compact calendar · Licence: MIT · Version 1.4.5 · Project website

A tiny, themeable month calendar that highlights the days with events. Clicking a day lists its events under the calendar.

Options in the module: theme (default, material, classic), colour.

10. Color Calendar

Color Calendar with event dots and the day agenda

Compact calendar · Licence: MIT · Version 3.0.0 · Project website

A colourful compact event calendar: a dot in the colour of each event under its day. Clicking a day lists its events under the calendar.

Options in the module: theme (basic, glass), size, main colour.

11. js-year-calendar

js-year-calendar with event days coloured

Year calendar · Licence: Apache-2.0 · Version 2.0.0 · Project website

The whole year at a glance: every month, with the event days coloured. Move from year to year; clicking a day lists its events.

Options in the module: event style (coloured day or border), week numbers.

12. Cal-Heatmap

Cal-Heatmap of events per day

Heatmap · Licence: MIT · Version 4.2.4 · Project website

A GitHub-style heatmap of how many events there are on each day, over months, with a tooltip per day. Clicking a day lists its events. Loads d3 and Popper with it.

Options in the module: months shown, colour scheme, day size.

Requirements

  • Drupal core 10.3 or later (11 and 12 supported), with Views.
  • The visual builder creates views of content, so it uses the Node module. The Views style works with any base table.
  • Nothing to download: the libraries load from the jsDelivr CDN by default.

Installation

composer require 'drupal/views_calendar_gallery:^2.0@alpha'
drush en views_calendar_gallery

To host a library yourself, unpack its npm package into /libraries/{folder}. The settings page (Configuration > User interface > Views Calendar Gallery) lists the folder and files of every library and shows which are found.

Usage

  • Visual builder: go to Structure > Views > Calendar gallery, pick a library, a content type and its date field, and click Create view.
  • Any view: set the format of a display to Calendar gallery, add a title and a date field, and map them in the format settings.
  • Your own library: add a #[CalendarLibrary] plugin and a small JavaScript adapter. See the README.

Versions

  • 2.0.x: Drupal 10.3, 11 and 12. Active development.
  • 8.x-1.x, 7.x-1.x: unsupported.
Supporting organizations: 

Project information

Releases