Loading...
Skip to main content

Month calendar

MonthCalendar renders an interactive month grid as an accessible table with previous and next month controls, localized weekday names, and selectable date entries.

Example

<MonthCalendar
  value={[
    {
      content: '๐ŸŽ‰ Today',
      date: new Date('2026-11-16T18:53:16.228Z')
    },
    {
      content: '๐Ÿ“… Planning',
      date: new Date('2026-11-17T18:53:16.228Z')
    }
  ]}
 />

Usage

value lists DateData entries whose content appears in the matching cell; entries sharing a date are grouped in a popover. onSelect receives the clicked entry and onChange fires when the visible month changes.

<MonthCalendar
locale="zh-CN"
onChange={function ve(){}}
onSelect={function ve(){}}
theme="success"
value={[
{
content: 'Event',
date: new Date('2026-10-01T00:00:00.000Z')
}
]}
/>

locale controls weekday formatting and defaults to the browser language; theme styles the header and controls.

Documentation navigation
On this page
On this page