BlogPlaygroundOne

Calendars

The v-calendar component is used to display information in a daily, weekly, monthly, or category view. The daily view has slots for all day or timed elements, and the weekly and monthly view has a slot for each day. The category view has a slot for each category in the day and timed sections based on the categories given or the categories in the given events. Optionally you can pass in an array of events and they will be rendered over the appropriate days and times.

Usage

A calendar has a type and a value which determines what type of calendar is shown over what span of time. This shows the bare minimum configuration, an array of events with name, start and end properties. end is optional, it defaults to the start. If the start has a time it’s considered a timed event and will be shown accordingly in the day views. An event can span multiple days and will be rendered accordingly.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
6:15 AM Holiday
11:15 PM Event
Party
Party
11:15 PM Event
12:30 AM Birthday
8 PM Holiday
8:15 PM Meeting
9:45 PM Birthday
8:45 AM Travel
7:15 PM Birthday
12:45 PM Meeting
10:45 PM Birthday
10 PM Meeting
Travel
Party
Travel
Party
6:30 PM Holiday
Event
Holiday
Conference
8:15 AM Conference
10:30 AM Conference
7:15 AM Meeting
7:30 AM Birthday
8 AM Conference
Birthday
12 AM Conference
Meeting
8:30 AM Conference
4 AM Travel
9 AM Travel
10:30 PM Event
PTO
1:30 PM Event
Party
9 PM PTO
1 AM Travel
Conference
3 AM Meeting
5 AM Travel
Travel
3:30 AM Holiday
10:30 PM Meeting
Event
Conference
Event
1:30 PM Holiday
10:45 PM PTO
4:15 PM Conference
7:15 PM Conference
PTO
PTO
3:30 PM Event

API

ComponentDescription
v-calendarPrimary Component
Toggle Inline API

Examples

Props

Type category

This is an example of an event calendar with a type of category that allows you to compare two schedules side-by-side.

May 2026
Fri
John Smith
Event
Tori Walker
1 AM
2 AM
3 AM
4 AM
5 AM
6 AM
7 AM
8 AM
9 AM
10 AM
11 AM
12 PM
1 PM
2 PM
3 PM
4 PM
5 PM
6 PM
7 PM
8 PM
9 PM
10 PM
11 PM
Party, 9 AM - 9:45 AM

Type day

This is an example of calendar with content in each interval slot and a type of day.

Fri
Today
1 AM
2 AM
3 AM
4 AM
5 AM
6 AM
7 AM
8 AM
9 AM
10 AM
11 AM
12 PM
1 PM
2 PM
3 PM
4 PM
5 PM
6 PM
7 PM
8 PM
9 PM
10 PM
11 PM
0 o'clock
1 o'clock
2 o'clock
3 o'clock
4 o'clock
5 o'clock
6 o'clock
7 o'clock
8 o'clock
9 o'clock
10 o'clock
11 o'clock
12 o'clock
13 o'clock
14 o'clock
15 o'clock
16 o'clock
17 o'clock
18 o'clock
19 o'clock
20 o'clock
21 o'clock
22 o'clock
23 o'clock

Type week

This is an example of an event calendar with all-day and timed events with a type of week.

Sun
Mon
Tue
Wed
Thu
Thomas' Birthday
Fri
Sat
1 AM
2 AM
3 AM
4 AM
5 AM
6 AM
7 AM
8 AM
9 AM
10 AM
11 AM
12 PM
1 PM
2 PM
3 PM
4 PM
5 PM
6 PM
7 PM
8 PM
9 PM
10 PM
11 PM
Weekly Meeting, 9 AM - 10 AM
Mash Potatoes
12:30 PM - 3:30 PM

Events

Click

This is an example of a planner with additional event handlers and external components controlling the display of the calendar.

May 2026
Sun
Mon
Tue
Wed
Thu
Fri
Sat
12:15 PM Birthday
4:15 AM Holiday
2:15 PM Holiday
7:30 AM Party
1:30 PM Event
7:30 PM Event
8:30 PM Birthday
4:15 AM Party
5:30 PM Conference
Conference
Meeting
9:45 PM Birthday
11:45 AM Conference
9:30 PM Birthday
Holiday
Holiday
1:45 AM Conference
8:15 AM Event
3:30 AM PTO
10:30 PM Birthday
Travel
9:30 AM Party
3:45 AM Event
3:30 PM Event
12:15 AM Birthday
9:30 AM PTO
3:30 PM Birthday
7:15 AM Meeting
4:30 PM Event
7 PM Conference
5 PM Party
Party
12:15 AM PTO
9 AM Conference
9:30 AM Birthday
4:30 PM Event
5:45 PM PTO
Birthday
6:45 AM PTO
11:30 PM Party
11:30 PM Party
8:15 PM Birthday

Slots

Day

Slots allow you to define the content for each day, time interval for the daily views, and various labels.

Sun
Mon
Tue
Wed
Thu
Fri
Sat

Day body

Using the day-body slot you can customize the calendar content for the day. In this example we added a line for the current time.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
1 AM
2 AM
3 AM
4 AM
5 AM
6 AM
7 AM
8 AM
9 AM
10 AM
11 AM
12 PM
1 PM
2 PM
3 PM
4 PM
5 PM
6 PM
7 PM
8 PM
9 PM
10 PM
11 PM

Misc

Drag and drop

This is an example of an event calendar where you can drag events, extend their length, and create events.

Fri
Sat
Sun
Mon
1 AM
2 AM
3 AM
4 AM
5 AM
6 AM
7 AM
8 AM
9 AM
10 AM
11 AM
12 PM
1 PM
2 PM
3 PM
4 PM
5 PM
6 PM
7 PM
8 PM
9 PM
10 PM
11 PM
Party
11:15 PM - 1:15 AM
Party
11:15 PM - 1:15 AM
Event
3:30 AM - 4:45 AM
Conference, 8 AM - 8:45 AM
Party, 8:30 AM - 9 AM
Meeting
3:15 AM - 5 AM
Event
5:45 AM - 7:30 AM
Event, 3:45 AM - 4:45 AM

Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.