Multiple Calendar Systems Support
Built-in support for Gregorian, Republic of China, Buddhist, Japanese, Islamic and other calendar systems to meet globalization needs
A Vue 3 date picker component supporting multiple calendar systems, with complete TypeScript support and rich customization options
pnpm add @tiaohsun/vue-datepicker
npm install @tiaohsun/vue-datepicker
yarn add @tiaohsun/vue-datepicker
<template>
<div>
<!-- Basic date picker -->
<DatePicker v-model="selectedDate" />
<!-- Date picker with time -->
<DatePicker v-model="selectedDateTime" :showTime="true" theme="violet" />
<!-- Republic of China calendar date picker -->
<DatePicker v-model="rocDate" calendar="roc" locale="zh-TW" />
</div>
</template>
<script setup lang="ts">
import { ref } from "vue";
import { DatePicker } from "@tiaohsun/vue-datepicker";
const selectedDate = ref(null);
const selectedDateTime = ref(null);
const rocDate = ref(null);
</script>
Support for ISO strings, JavaScript Date objects, custom formats and other output methods.
Built-in date range validation, format validation, required validation with complete error handling.
From basic date formats to complex calendar plugins, meeting various usage scenarios.
Vue 3 + TypeScript + Tailwind CSS + @internationalized/date + dayjs
Start using Vue Datepicker to add powerful and elegant date selection functionality to your Vue 3 applications!