Skip to content
Calm motion: animations on this site only fade, with no movement

Scheduler ​

A day or week of time you can drag events into

A calendar of hours for the things that take time: meetings, shifts, appointments, lessons. Drag across empty time to make an event, drag an event to move it, pull its foot to change its length. For days with no times use Calendar. For work over weeks, Gantt.

A week
Oct 12, 2026 – Oct 18, 2026
12 Mon13 Tue14 Wed15 Thu16 Fri17 Sat18 Sun
Standup 9:00 AM–9:30 AM
Design review 10:00 AM–11:30 AM
1:1 10:30 AM–11:00 AM
Lunch 12:00 PM–1:00 PM
  • v-model is the events: { id, title, date: "YYYY-MM-DD", start, end } with start and end in minutes after midnight (540 = 09:00). No time zones: it is a local wall-clock day. v-model:date is any day in the period shown. view="day" shows one day, "week" seven.
  • Pointer (mouse and pen): drag over empty time to create an event (a flick is ignored). Drag an event to move it in time and to another day. Drag its foot to resize it. Everything snaps to snap minutes (15). Events that overlap sit side by side. Touch: events drag the same way, but empty time scrolls the page, so use Add event to create an event.
  • Keyboard: events are focusable (one tab stop). ↑ ↓ move by the snap. ← → move to the next or previous day (focus follows). Alt+↑ ↓ change the length. Enter goes to the title field, and Delete removes the event. Each change is announced with the day and times.
  • The panel under the grid edits the selected event's title and removes it. create, change and remove events carry the event. dayStart / dayEnd set the hours shown, hourHeight the scale, :editable="false" makes it read-only, and labels translates the wording.

Usage ​

ts
import { BlessScheduler } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
view"week" | "day""week"
weekStart0 | 110 = Sunday, 1 = Monday
dayStartnumber7first and last hour shown (0–24)
dayEndnumber20
snapnumber15minutes events snap to
hourHeightnumber48px per hour
localestring"en"
editablebooleantrue
labelstring"Schedule"
labelsPartial<{ prev: string; next: string; today: string; add: string; remove: string; title: string; newEvent: string; eventName: (title: string, day: string, from: string, to: string) => string; moved: (title: string, day: string, from: string, to: string) => string; added: (title: string) => string; removed: (title: string) => string; hint: string; }>—
modelValueScheduleEvent[][]
datestring | nullnullany day in the period shown
selectedstring | nullnull

Events

NamePayloadDescription
update:modelValue[value: ScheduleEvent[]]
remove[event: ScheduleEvent]
update:selected[value: string | null]
change[event: ScheduleEvent]
create[event: ScheduleEvent]
update:date[value: string | null]

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