Default
Use Date Picker for date input. The example also shows custom color and floating labels for single and range triggers.
Use Date Picker for date input. The example also shows custom color and floating labels for single and range triggers.
Use label for a persistent label. Add label-float to move it above the value on focus or after a date is selected. Range pickers can set start-label and end-label independently.
Compare the inherited small, default, and large component sizes.
Use shape="square" to apply square geometry to both the input trigger and teleported calendar panel.
Set type="datetime" to pick date and time. With auto-apply-now, clicking Now immediately updates v-model and closes the popup. When disabled, the current time remains staged until confirmation. The same default can be configured through SConfigProvider.
timezone accepts an IANA zone. Both pickers below display 2026-08-05 14:00:22, while Shanghai and New York map that wall time to different absolute milliseconds. The first inherits SConfigProvider; the second overrides it locally. Daylight-saving transitions follow the runtime IANA data.
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.
Set type="daterange" to pick a date range; there is no separate Date Range Picker component. An empty value opens on the current and following months. Selecting the end date only updates the draft, and v-model changes after Confirm.
Month, quarter, year and week pickers.
Set type="datetimerange" to pick a date-time range with separate start/end time panels.
Use shortcuts to provide quick selection options.
Use disabled-date to disable specific dates.
Use festival-method to add a compact label, notice dot, or custom cell style for business dates without changing the picker theme.
Week selects an entire row. Hover or focus previews the row; Up/Down moves focus and Enter or Space selects it. A week containing a disabled date cannot be selected. Current days, months, quarters, years, and weeks share a subtle theme-color treatment; solid backgrounds indicate selection. Global firstDayOfWeek controls the first weekday, while firstWeekContainsDate specifies the January date that belongs to week one (default 4). Week numbers use the week-year, which can differ from the calendar year. Local start-day overrides the first weekday for one component.
Set loading while options or values are being loaded. The trailing indicator matches Input and Select; current values stay visible and interaction resumes when loading ends.
booleanStringBooleanStringStringStringStringStringBooleanNumberNumberObject