Date picker

Select dates, date ranges, and date-time values.

Date picker

Default

Use Date Picker for date input. The example also shows custom color and floating labels for single and range triggers.

This component requires the <client-only> </client-only> wrap when used in SSR (eg: Nuxt) and SSG (eg: VitePress).

Code copied

Date and time

Set type="datetime" to pick date and time.

Code copied

Time

Use s-time-picker when only a time value is needed. It shares the same formatting, editable input, clear action, and time-column selection behavior.

Code copied

Date range

Set type="daterange" to pick a date range.

Code copied

Other types

Month, quarter, year and week pickers.

Code copied

Date time range

Set type="datetimerange" to pick a date-time range with separate start/end time panels.

Code copied

Shortcuts

Use shortcuts to provide quick selection options.

Code copied

Disabled date

Use disabled-date to disable specific dates.

Code copied

Date markers

Use festival-method to add a compact label, notice dot, or custom cell style for business dates without changing the picker theme.

Code copied

API

PROPS

PropertyTypeValuesDescriptiondefaultExampleMore
color / size / label-float / label / start-label / end-labelString / BooleanTheme color / small | default | large / label textShare input color, density, and floating labels across single and range date triggers.-
auto-close / clearable / separatorBoolean / Boolean / Stringtrue | false / date range separatorControl close timing, clear action availability, and range text separator.true / true / -
v-model / model-valueDate | string | number | [Date, Date]binding date value
typeStringdate | datetime | daterange | datetimerange | month | quarter | year | weekpicker typedate
label-format / value-format / time-formatStringDay.js format tokensControl displayed text, emitted value, or datetime time segment independently.type-based
multiple / limit-countBoolean / NumberToggle multiple values and optionally cap the selected count.false / -
show-clear-button / show-confirm-buttonBooleantrue | falseControl footer action visibility.true
min-date / max-date / start-date / end-dateDate | string | numberRestrict selectable dates with inclusive lower and upper bounds.-
default-date / default-timeDate | string | number | [DateLike, DateLike]Set initial panel date and time when the model is empty.-
start-day / select-dayNumber0-6Set the first weekday and the returned day for week selection.0 / -
time-configObjecthours | minutes | seconds | *DisabledMethodConfigure time-column values and disabled options.-
popup-configObjectplacement | transfer | width | height | zIndex | classNameConfigure popup placement, mounting, size, layer and class.-
No matching data
Last Updated: 2026-08-17, 08:33:54