defaultPlaceholder DateValue — Name defaultPlaceholder Description The default placeholder date
Type CalendarDate | CalendarDateTime | ZonedDateTime Default — defaultValue DateRange — Name defaultValue Description The default value for the calendar
Type DateRange Default — modelValue DateRange | null — Name modelValue Description The controlled selected date range of the calendar. Can be bound as v - model .
Type null | DateRange Default — placeholder DateValue — Name placeholder Description The placeholder date, which is used to determine what month to display when no date is selected. This updates as the user navigates the calendar and can be used to programmatically control the calendar view
Type CalendarDate | CalendarDateTime | ZonedDateTime Default — allowNonContiguousRanges boolean false Name allowNonContiguousRanges Description When combined with isDateUnavailable , determines whether non-contiguous ranges, i.e. ranges containing unavailable dates, may be selected.
Type boolean Default false pagedNavigation boolean false Name pagedNavigation Description This property causes the previous and next buttons to navigate by the number of months displayed at once, rather than one month
Type boolean Default false preventDeselect boolean false Name preventDeselect Description Whether or not to prevent the user from deselecting a date without selecting another date first
Type boolean Default false maximumDays number — Name maximumDays Description The maximum number of days that can be selected in a range
Type number Default — weekStartsOn WeekStartsOn — Name weekStartsOn Description The day of the week to start the calendar on
Type 0 | 1 | 2 | 3 | 4 | 5 | 6 Default — weekdayFormat WeekDayFormat 'narrow' Name weekdayFormat Description The format to use for the weekday strings provided via the weekdays slot prop
Type 'narrow' | 'short' | 'long' Default 'narrow' calendarLabel string — Name calendarLabel Description The accessible label for the calendar
Type string Default — fixedWeeks boolean false Name fixedWeeks Description Whether or not to always display 6 weeks in the calendar
Type boolean Default false maxValue DateValue — Name maxValue Description The maximum date that can be selected
Type CalendarDate | CalendarDateTime | ZonedDateTime Default — minValue DateValue — Name minValue Description The minimum date that can be selected
Type CalendarDate | CalendarDateTime | ZonedDateTime Default — locale string — Name locale Description The locale to use for formatting dates
Type string Default — numberOfMonths number 1 Name numberOfMonths Description The number of months to display at once
Type number Default 1 disabled boolean false Name disabled Description Whether or not the calendar is disabled
Type boolean Default false readonly boolean false Name readonly Description Whether or not the calendar is readonly
Type boolean Default false initialFocus boolean false Name initialFocus Description If true, the calendar will focus the selected day, today, or the first day of the month depending on what is visible when the calendar is mounted
Type boolean Default false isDateDisabled Matcher — Name isDateDisabled Description A function that returns whether or not a date is disabled
Type ( date : DateValue ) : boolean Default — isDateUnavailable Matcher — Name isDateUnavailable Description A function that returns whether or not a date is unavailable
Type ( date : DateValue ) : boolean Default — isDateHighlightable Matcher — Name isDateHighlightable Description A function that returns whether or not a date is hightable
Type ( date : DateValue ) : boolean Default — dir Direction — Name dir Description The reading direction of the calendar when applicable.
If omitted, inherits globally from ConfigProvider or assumes LTR (left-to-right) reading mode.
Type 'ltr' | 'rtl' Default — nextPage (( placeholder : DateValue ) => DateValue ) — Name nextPage Description A function that returns the next page of the calendar. It receives the current placeholder as an argument inside the component.
Type ( placeholder : DateValue ) : DateValue Default — prevPage (( placeholder : DateValue ) => DateValue ) — Name prevPage Description A function that returns the previous page of the calendar. It receives the current placeholder as an argument inside the component.
Type ( placeholder : DateValue ) : DateValue Default — disableDaysOutsideCurrentView boolean false fixedDate 'start' | 'end' — Name fixedDate Description Which part of the range should be fixed
Type 'start' | 'end' Default — asChild boolean false Name asChild Description Change the default rendered element for the one passed as a child, merging their props and behavior.
Read Reka UI's Composition guide for more details.
Type boolean Default false as AsTag | Component 'div' Name as Description The element or component this component should render as. Can be overwritten by asChild .
Type ComponentOptions < any , any , any , ComputedOptions , MethodOptions , any , any , any , string , {} , {} , string , {} , {} , {} , string , ComponentProvideOptions > | ( props : any , ctx : Omit <{ attrs : Attrs ; slots : Readonly < InternalSlots > ; emit : ( event : string , ... args : any []) => void ; expose : < Exposed extends Record < string , any > = Record < string , any >>( exposed ?: Exposed | undefined ) => void ; } , 'expose' >) : any | ComponentPublicInstanceConstructor < any , any , any , any , ComputedOptions , MethodOptions > | 'a' | 'button' | 'div' | 'form' | 'h2' | 'h3' | 'img' | 'input' | 'label' | 'li' | 'nav' | 'ol' | 'p' | 'span' | 'svg' | 'ul' | 'template' | {} & string Default 'div' class ClassValue — Name class Description Classes added to the part's own element, after its recipe classes.
Type null | string | false | Record < string , any > | ClassValue [] Default —