Description
vue2-datepicker is a date and datetime picker component for Vue 2. It can pick single dates, date ranges, years, months, weeks and times, and its format setting follows moment.js-style tokens with a default of YYYY-MM-DD. Props cover the picker type, range selection, format, a custom formatter, the value type, the default date of the calendar, the lang override and placeholder text. You can supply your own formatter, and the value type controls what the binding receives. The README says the default language of version 3.x is English. You can import a locale file to use another language, which then becomes active, or override part of the default locale with the lang prop. If your project uses SCSS, you can change the default style variables. The README has a demo, install and usage sections, and a Chinese version of the document. For Vue 3, the README points to vue-datepicker-next from the same author. The repository is public on GitHub under the mengxiong10 account.…
Highlights
- Date, range, year, month, week and time pickers for Vue 2
- Format tokens and a custom formatter
- Locale files and a lang override
- SCSS theme variables
- Points to vue-datepicker-next for Vue 3
Ratings & Reviews
No ratings yet
Be the first to rate vue2-datepicker.
People also visit

vue-datepicker
A clean & responsive datepicker with Material Design style for Vuejs 2.x
vue2-datepicker FAQ
What is vue2-datepicker?
A date and datetime picker component for Vue 2.
Is there a Vue 3 version?
The README points to vue-datepicker-next from the same author for Vue 3.
Which picker types are supported?
Date, datetime, year, month, time and week, plus range selection.
How do I change the language?
Import a locale file, which then becomes active, or use the lang prop to override parts of the default locale.
Is it open source?
Yes. The repository is public on GitHub under mengxiong10.
What are the best vue2-datepicker alternatives?
Popular alternatives to vue2-datepicker include vue-datepicker-next, vue-datepicker and @sum.cumo/vue-datepicker. See all vue2-datepicker alternatives


















