A full calendar week view with events positioned on a time grid, side-by-side layout for overlaps, a live now line, week navigation, a mini month picker, calendar toggles, an up-next agenda and an add event dialog opened from any time slot.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { CalendarWeekScreen } from "@/components/hyperblur-pro/calendar-week-screen"
<CalendarWeekScreen onEventCreate={(event) => console.log(event)} />| Prop | Type | Default | Description |
|---|---|---|---|
| accent | string | "#7c5cff" | Accent color for today, the primary buttons and focus rings. |
| calendars | CalendarWeekCalendar[] | Work, Meetings, Focus time, Personal | Calendars with id, name and color. Each can be toggled on and off in the sidebar. |
| events | CalendarWeekEvent[] | 18 sample events in the current week | Events with id, title, date (YYYY-MM-DD), start and end (HH:MM), calendar id and optional location and attendees. |
| defaultDate | string | today | Date (YYYY-MM-DD) whose week is shown first. |
| startHour | number | 6 | First hour shown on the grid. |
| endHour | number | 22 | Hour where the grid ends. |
| onEventCreate | (event: CalendarWeekEvent) => void | Called when an event is saved from the dialog. | |
| onEventDelete | (id: string) => void | Called when an event is deleted from its popover. | |
| onWeekChange | (weekStart: string) => void | Called with the Monday (YYYY-MM-DD) of the week after navigating. |
Source code is included in Pro and above