Components

BaseDatePicker

An inline calendar in the app’s card style, with limits and allowed dates.

components/ui/inputs/BaseDatePicker.vue
View in the demo

Example

Only weekdays from today on can be picked.

M
T
W
T
F
S
S

API

It also accepts every prop, slot and event of v-date-picker, which it passes through.

Props

Name
Type
Default
Description
titlestring—A heading above the calendar.
minstring | Date—The earliest selectable date.
maxstring | Date—The latest selectable date.
allowed-dates((date: unknown) => boolean)—A function that returns false for dates that cannot be picked.
first-day-of-weeknumber10 for Sunday, 1 for Monday.
v-modelDate | nullnullThe selected date.

Events

Name
Payload
Description
@update:modelValue[value: Date | null]—
© 2026 melsami UI.
Developer documentation for melsami UI.