Skip to content
Availability calendar, light
Light
Availability calendar, dark
Dark

Every state

  • Availability calendar, default, light
    Availability calendar, default, dark

    default

  • Availability calendar, focus, light
    Availability calendar, focus, dark

    focus

  • Availability calendar, selected, light
    Availability calendar, selected, dark

    selected

  • Availability calendar, limited-selected, light
    Availability calendar, limited-selected, dark

    limited-selected

  • Availability calendar, next-month, light
    Availability calendar, next-month, dark

    next-month

  • Availability calendar, disabled, light
    Availability calendar, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"tour"Id prefix for the heading, legend and detail line.
namestring"tour"Form name of the chosen day (yyyy-mm-dd).
labelstring"Tour date"The calendar's visible label.
todayDate–Today's date; defaults to the real today. Earlier days are disabled.
defaultValuestring–The day chosen at the start (yyyy-mm-dd).
defaultMonthstring–The month shown at the start (yyyy-mm-dd, any day of it).
monthsAheadnumber5How many months after this one can be shown.
availability(date: Date) => DatePickerAvailabilityDay–A day's status (available, limited, booked) and places left.
labels{ available; limited; booked; left: (n) => string; none }–Legend words, the "2 left" mark and the line before a day is chosen.
localestring"en-GB"Locale for month and day names.
onValueChange(value: string) => void–Called with the chosen day (yyyy-mm-dd).
disabledboolean–Disables every day and the month buttons.
classNamestring–Extra classes on the group.

More date pickers

All 10
date-picker-01 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans