Calendar
A full-featured calendar for date display and selection.
When to Use
- To display a calendar with event markers
- For date selection in dashboards
- As a scheduling interface
Import
Examples
Basic
Card Mode
A compact calendar suitable for sidebar placement.
API
CalendarProps
value—Date— Current date (controlled)defaultValue—Date— Default selected datemode—"month" | "year"— Display mode (default:"month")fullscreen—boolean— Full-size calendar (default:true)cellRender—(date, info) => ReactNode— Custom cell contentheaderRender—(config) => ReactNode— Custom headerdisabledDate—(date: Date) => boolean— Disable specific datesonChange—(date: Date) => void— Date change callbackonPanelChange—(date: Date, mode: string) => void— Panel mode changeonSelect—(date: Date, info) => void— Date select callback