Skip to content
Inline week strip, light
Light
Inline week strip, dark
Dark

Every state

  • Inline week strip, default, light
    Inline week strip, default, dark

    default

  • Inline week strip, focus, light
    Inline week strip, focus, dark

    focus

  • Inline week strip, selected, light
    Inline week strip, selected, dark

    selected

  • Inline week strip, next-week, light
    Inline week strip, next-week, dark

    next-week

  • Inline week strip, disabled, light
    Inline week strip, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"visit"Id prefix; each day radio is `${id}-${yyyy-mm-dd}`.
namestring"visit"Form name of the chosen day (yyyy-mm-dd).
legendstring"Choose a day"The group's visible question.
descriptionstring–Help line under the legend.
todayDate–Today's date; defaults to the real today. Earlier days are disabled.
defaultValuestring–The day chosen at the start (yyyy-mm-dd); its week shows first.
weeksAheadnumber6How many weeks after this one can be shown.
free(date: Date) => number–Places free on a day; 0 disables it.
showFreebooleantrueShows the places line under each date.
freeLabel(count: number) => stringn => `${n} free`The line under a date with places.
fullLabelstring"Full"The line under a date without places.
todayLabelstring"Today"Shown instead of today's weekday.
previousLabelstring"Previous week"Accessible name of the previous button.
nextLabelstring"Next week"Accessible name of the next button.
localestring"en-GB"Locale for weekday and month names.
onValueChange(value: string) => void–Called with the chosen day (yyyy-mm-dd).
disabledboolean–Disables the whole strip.
classNamestring–Extra classes on the fieldset.

More date pickers

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