Skip to content
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
MonTueWedThuFriSatSun
Monday, October 26Tuesday, October 27Wednesday, October 28Thursday, October 29Friday, October 30Saturday, October 31Sunday, November 1
Monday, November 2
Tuesday, November 3
Wednesday, November 4
Thursday, November 5Friday, November 6
Saturday, November 7Sunday, November 8
Monday, November 9Tuesday, November 10
Wednesday, November 11Thursday, November 12Friday, November 13
Saturday, November 14Sunday, November 15
Monday, November 16Tuesday, November 17Wednesday, November 18Thursday, November 19Friday, November 20
Saturday, November 21Sunday, November 22
Monday, November 23Tuesday, November 24Wednesday, November 25Thursday, November 26Friday, November 27
Saturday, November 28Sunday, November 29
Monday, November 30Tuesday, December 1Wednesday, December 2Thursday, December 3Friday, December 4Saturday, December 5Sunday, December 6
  • events is a list of { id, title, date, start, end, color }. The date is a YYYY-MM-DD text, and start and end are minutes after midnight, as in BlessScheduler, so both can show the same list.
  • An event with no start is 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 of locale.
  • A day shows max lines (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 emits select.
  • v-model:date is 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-start sets 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 labels or a label pack: prev, next, today, more, and less.

Usage ​

ts
import { BlessEventCalendar, type BlessCalendarEvent } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
events*BlessCalendarEvent[]—
weekStart0 | 110 = Sunday, 1 = Monday
maxnumber3the most events in a day before "+n more"
localestring"en"
labelstring"Calendar"
labelsPartial<{ prev: string; next: string; today: string; more: (n: number) => string; less: string; }>—
datestring | nullnullany day in the month shown

Events

NamePayloadDescription
select[event: BlessCalendarEvent]
update:date[value: string | null]

Released under the MIT License. Character names and artwork belong to their owners.