@vuepic/vue-datepicker
@vuepic/vue-datepicker
The most complete datepicker solution for Vue 3
Features
- Single date picker
- Range date picker
- Time picker
- Month picker
- Year picker
- Quarter picker
- Week picker
- Multiple dates select
- Multiple calendars
- Text input
- UTC support
- Timezones
- Locale support
- Week numbers
- Custom
v-model - Dark and light theme
- SSR support
- Highly configurable
- Accessible
- Included type definitions
Install
# npm
npm install @vuepic/vue-datepicker
# yarn
yarn add @vuepic/vue-datepicker
# pnpm
pnpm add @vuepic/vue-datepicker
# bun
bun add @vuepic/vue-datepicker
Import and register component
Global
import { createApp } from 'vue';
import App from './App.vue';
import { VueDatePicker } from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css';
const app = createApp(App);
app.component('VueDatePicker', VueDatePicker);
Local
<template>
<VueDatePicker v-model="date" />
</template>
<script setup>
import { ref } from 'vue';
import { VueDatePicker } from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css';
const date = ref(null);
</script>
Supporting the project
As you may know, maintaining an open-source project is a very time-consuming job. Your support is very appreciated ❤️
Please ⭐️ this repository if you like the component!
You can also make a financial contribution via sponsoring this project or one-time donation. Become a sponsor
Contributors
Thanks to all people who contributed to the project 🙏
Versioning
This project follows SemVer specification
License
Copyright © 2021-present Vuepic
Related Packages
@livelybone/vue-datepicker
A vue component of datepicker, includes DatePicker, DateRangePicker, DatetimePic...
22,059
64
@d.blizen/datepicker-nash-travel
A vue component of datepicker, includes DatePicker, DatetimePicker, DateRangePic...
606
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 14.0.0 | >=3.5.0 | MIT | |
| 13.0.0 | >=3.5.0 | MIT | |
| 12.1.0 | >=3.5.0 | MIT | |
| 12.0.5 | >=3.5.0 | MIT | |
| 12.0.4 | >=3.5.0 | MIT | |
| 12.0.3 | >=3.5.0 | MIT | |
| 12.0.2 | >=3.5.0 | MIT | |
| 12.0.1 | >=3.5.0 | MIT | |
| 12.0.0 | >=3.5.0 | MIT | |
| 11.0.3 | >=3.3.0 | MIT | |
| 11.0.2 | >=3.3.0 | MIT | |
| 11.0.1 | >=3.3.0 | MIT | |
| 11.0.0 | >=3.3.0 | MIT | |
| 10.0.0 | >=3.2.0 | MIT | |
| 9.0.3 | >=3.2.0 | MIT | |
| 9.0.2 | >=3.2.0 | MIT | |
| 9.0.1 | >=3.2.0 | MIT | |
| 9.0.0 | >=3.2.0 | MIT | |
| 8.8.1 | >=3.2.0 | MIT | |
| 8.8.0 | >=3.2.0 | MIT | |
| 8.7.0 | >=3.2.0 | MIT | |
| 8.6.0 | >=3.2.0 | MIT | |
| 8.5.1 | >=3.2.0 | MIT | |
| 8.5.0 | >=3.2.0 | MIT | |
| 8.4.0 | >=3.2.0 | MIT | |
| 8.3.2 | >=3.2.0 | MIT | |
| 8.3.1 | >=3.2.0 | MIT | |
| 8.3.0 | >=3.2.0 | MIT | |
| 8.2.0 | >=3.2.0 | MIT | |
| 8.1.1 | >=3.2.0 | MIT |
Showing the latest 30 of 96. See every release on npm
Pre-releases (1)
| Version | Released | Vue | License |
|---|---|---|---|
| 3.6.0-alpha.1 | >=3.2.0 | MIT |