MonthView
Standalone schedule month view component
Source
LLM docs
Docs
Package
Usage
MonthView displays events in a calendar month grid. It shows event badges in each day cell with support for drag and drop.
With week numbers
Set withWeekNumbers to display week numbers in the first column.
Without week days
Set withWeekDays={false} to hide the weekday names row.
First day of week
Set firstDayOfWeek to control which day starts the week.
Weekday format
Use weekdayFormat prop to customize weekday names.
Consistent weeks
Set consistentWeeks={false} to only show weeks that have days in the current month.
Highlight today
Set highlightToday={false} to disable highlighting the current day.
Without outside days
Set withOutsideDays={false} to hide days from adjacent months.
Radius
Use radius prop to customize the border radius of events.
Without header
Set withHeader={false} to hide the header controls.
Custom header
You can build a custom header using ScheduleHeader compound components combined with your own controls.
Set withHeader={false} on the view and compose the header externally.
Max events per day
Use maxEventsPerDay prop to control how many events are visible per day before the "+more"
indicator appears. The value is clamped between 1 and 10. Day cell height adjusts automatically.
Many events
When a day has many events, the component shows a "More events" indicator.
Drag and drop
Enable drag and drop to move events between days.
External drag and drop
Use onExternalEventDrop to allow dragging items from outside the component into
the schedule. External items must set data in dataTransfer during their onDragStart.
The callback receives the DataTransfer object and the drop target datetime.
Drag to schedule
Team Offsite
Release Day
All Hands
Bidirectional drag and drop
Combine onExternalEventDrop with withEventsDragAndDrop to enable bidirectional
drag and drop. Items dragged from the sidebar are removed from the list and added
to the schedule. Events dragged from the schedule back to the sidebar are removed
from the schedule. The schedule sets application/json with { eventId } in
dataTransfer when an event is dragged, which the sidebar drop zone reads to
identify the event.
Unscheduled
Team Offsite
Release Day
All Hands
Full event customization
Use renderEvent prop to fully customize event rendering. This function receives the event
data as the first argument and all props that would be passed to the event root element
(including children) as the second argument, allowing you to wrap events in custom components
like HoverCard, Tooltip, or custom wrappers.
Recurring events
MonthView automatically expands recurring events for the visible month. See Recurring events guide for full documentation.
Background events
Set display="background" on an event to render it as a full-width, semi-transparent,
non-interactive block behind regular events. Background events span the full height of
the day cell in the month view.
Static mode
Set mode="static" to disable all interactions.
Localization
Use locale prop to set the dayjs locale for date formatting.
Combine it with labels prop to translate all UI text.
Create and update events
Set withDragSlotSelect prop to allow users to drag across day cells to select a date range.
When the drag ends, the onSlotDragEnd callback is called with the range start and end dates.
Combined with onDayClick and onEventClick callbacks, this enables a complete event creation
and editing experience.
Responsive styles
MonthView uses @container queries for responsive styles. The component automatically adjusts its layout based on the container width, hiding labels and reducing padding on smaller screens. Container queries are supported in all modern browsers.
Accessibility
Focus management
In the MonthView component, focus is managed to provide an efficient keyboard navigation experience:
- Only the first day in the month view is included in the tab order (has
tabIndex={0}) - All other days have
tabIndex={-1}and can only be reached via arrow key navigation - Outside days (days from adjacent months) are navigable using arrow keys when
withOutsideDaysistrue - Disabled days are skipped during keyboard navigation
This approach reduces the number of tab stops when navigating through the calendar, making it faster for keyboard users to move through the view while still allowing full access to all days via arrow keys.
Keyboard interactions
Note that the following events will only trigger if focus is on a day control.
Day labels
Each day button has an aria-label attribute with the full date in the format "Month Day, Year" (e.g., "November 15, 2025"). This provides screen reader users with complete date information.