ZeroGravity UI

Planningstable

Calendar

Month, week and day calendar

A composable calendar: month grid, week and day time grids with overlap layout, an all-day row and a now line.

Mar 9 – 15, 2026

All day
        • Offsite
        • Offsite
            Project kickoff9:00 AM–10:30 AM
            Deep work1:00 PM–3:00 PM
            Design review10:00 AM–11:30 AM
            Team sync11:00 AM–11:45 AM
            Lunch with Ana12:30 PM–1:30 PM
            Workshop9:00 AM–12:00 PM
            Standup9:00 AM–9:15 AM
            Client call10:00 AM–11:00 AM
            Gym6:00 PM–7:00 PM
            Retro3:00 PM–4:00 PM
            Dinner7:00 PM–9:00 PM

            Customize

            Lookstyle and first view
            variant
            defaultView
            1weekStartsOn
            Gridhow much each view shows
            3maxEventsPerDay
            48 pxhourHeight
            0startHour
            24endHour

            Usage

            TSX
            import { Calendar } from "zerogravity/calendar"
            
            <Calendar
                events={events}
            />

            Generated from the controls above. Only props that differ from their defaults are shown.

            Props

            14 documented props on Calendar
            PropertyTypeDefaultDescription
            variant"pixel" | "classic" | "minimal" | "glass""pixel"Style.
            defaultView"month" | "week" | "day""week"First view.
            weekStartsOnnumber1Week starts on (0 = Sunday). Range 0 to 6.
            maxEventsPerDaynumber3Events per month day. Range 1 to 6.
            hourHeightnumber48Hour height. Range 24 to 96 px.
            startHournumber0First hour. Range 0 to 12.
            endHournumber24Last hour. Range 13 to 24.
            events{ id, title, start: Date, end: Date, allDay?, accent? }[][]Items to show. End is exclusive; your own fields reach renderEvent.
            view / date / selectedDatecontrolled props with defaultX and onXChangeuncontrolledEach can be controlled or left to the calendar.
            renderEvent(event, info) => ReactNodeCalendarEventReplaces every event chip: menus, popovers and status badges go here.
            renderDay(info) => ReactNode—Extra content inside each month cell.
            onEventClick / onMoreClick(event) => void / (date) => void— / open the dayEvent activation, and the +N more control.
            locale / timeZone / nowstring / string / DatedeviceFormatting, the wall clock events are placed on, and a fixed now.
            childrenCalendar.Header, Calendar.View, Calendar.Month, Calendar.Week, Calendar.DayHeader + ViewCompose your own layout; useCalendar() drives custom headers.

            Dependencies

            0 external runtime dependencies

            Ships with nothing but React.