Calm motion: animations on this site only fade, with no movement
Event calendar
A month of events in a grid
Shows the events of a month, for example the plan of a team. For the hours of a week, with events that a person can move, use the scheduler. For picking a date, use the calendar.
Basic
November 2026
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| Monday, October 26 | Tuesday, October 27 | Wednesday, October 28 | Thursday, October 29 | Friday, October 30 | Saturday, October 31 | Sunday, November 1 |
| Monday, November 2 | Tuesday, November 3 | Wednesday, November 4 | Thursday, November 5 | Friday, November 6 | Saturday, November 7 | Sunday, November 8 |
| Monday, November 9 | Tuesday, November 10 | Wednesday, November 11 | Thursday, November 12 | Friday, November 13 | Saturday, November 14 | Sunday, November 15 |
| Monday, November 16 | Tuesday, November 17 | Wednesday, November 18 | Thursday, November 19 | Friday, November 20 | Saturday, November 21 | Sunday, November 22 |
| Monday, November 23 | Tuesday, November 24 | Wednesday, November 25 | Thursday, November 26 | Friday, November 27 | Saturday, November 28 | Sunday, November 29 |
| Monday, November 30 | Tuesday, December 1 | Wednesday, December 2 | Thursday, December 3 | Friday, December 4 | Saturday, December 5 | Sunday, December 6 |
eventsis a list of{ id, title, date, start, end, color }. The date is aYYYY-MM-DDtext, andstartandendare minutes after midnight, as inBlessScheduler, so both can show the same list.- An event with no
startis for the whole day. It has a filled background and comes first. The other events come in the order of their start time, with the time in the format oflocale. - A day shows
maxlines (default 3). When a day has more events, the last line is "+2 more", which shows all of them in the day. A click on an event emitsselect. v-model:dateis a day in the month shown. With no date, the calendar shows the month of the first event, or of today. The buttons go to the previous month, the next month, and today, and the name of the month is spoken when it changes.- Each week shows in full, so the first and the last row can have days of the previous and next month, on a gray background. Today has the accent color.
week-startsets the first day of the week (1 = Monday, 0 = Sunday). On a small screen the rows are lower and the times are not shown.- The grid is a table with the names of the days as column headers. Each day has its full date for screen readers.
- Change the words with
labelsor a label pack:prev,next,today,more, andless.
Usage
ts
import { BlessEventCalendar, type BlessCalendarEvent } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
events* | BlessCalendarEvent[] | — | |
weekStart | 0 | 1 | 1 | 0 = Sunday, 1 = Monday |
max | number | 3 | the most events in a day before "+n more" |
locale | string | "en" | |
label | string | "Calendar" | |
labels | Partial<{ prev: string; next: string; today: string; more: (n: number) => string; less: string; }> | — | |
date | string | null | null | any day in the month shown |
Events
| Name | Payload | Description |
|---|---|---|
select | [event: BlessCalendarEvent] | |
update:date | [value: string | null] |