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

Every state

  • Price calendar, default, light
    Price calendar, default, dark

    default

  • Price calendar, focus, light
    Price calendar, focus, dark

    focus

  • Price calendar, selected, light
    Price calendar, selected, dark

    selected

  • Price calendar, range, light
    Price calendar, range, dark

    range

  • Price calendar, this-month, light
    Price calendar, this-month, dark

    this-month

  • Price calendar, disabled, light
    Price calendar, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"stay"Id prefix for the heading and the status line.
labelstring"Price per night"Visible heading over the calendar.
checkInNamestring"check-in"Form name of the hidden check-in date (ISO).
checkOutNamestring"check-out"Form name of the hidden check-out date (ISO).
getPrice(date: Date) => number | null–The price of the night from a date, or null when nothing is free. The default makes up a guest house.
currencystring"EUR"ISO 4217 code for the prices.
defaultValue{ from: string; to?: string }–Check-in and check-out at the start, ISO yyyy-mm-dd.
defaultMonthstring–The month shown at the start, yyyy-mm.
todayDate–Today's date; defaults to the real today. Earlier days can't be picked.
localestring"en-GB"Locale for dates and prices.
onValueChange(value: { checkIn: string; checkOut: string; total: number }) => void–Called with the ISO dates and the total once check-out is chosen.
disabledboolean–Disables the calendar.
classNamestring–Extra classes on the wrapper.

More date pickers

All 10
date-picker-07 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