@khorshid-js/vue
@khorshid-js/vue
Vue 3 bindings for Khorshid, a date picker with Jalali, Gregorian and Hijri calendars. The package has composables and ready-made components.
npm install @khorshid-js/vue @khorshid-js/core @khorshid-js/dom
<script setup lang="ts">
import { ref } from 'vue';
import { DatePicker } from '@khorshid-js/vue';
import '@khorshid-js/vue/styles.css';
const date = ref('2026-03-21');
</script>
<template>
<DatePicker v-model="date" locale="fa-IR" />
</template>
Supports Vue 3.4 and later. vue, @khorshid-js/core and @khorshid-js/dom are peer dependencies.
Most apps should install khorshid, which bundles every layer behind one import. Use the scoped packages when you want only some of them.
MIT
Related Packages
@jalali-js/vue
Vue bindings for jalali-js: useCalendar composable, headless Calendar grid, a de...
1,880
2
vue-jalali-datepicker
A lightweight, zero-dependency Persian (Jalali / Shamsi) date and range picker f...
539
0
@doranjs/vue
Idiomatic Vue 3 bindings for Doran — v-model components over the @doranjs/wc eng...
0
84
vue-persian-calendar-datepicker
An accessible Vue 3 Persian (Jalali) calendar, date picker, and time picker with...
3,651
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.0 | ^3.4.0 | MIT |
Pre-releases (1)
| Version | Released | License |
|---|---|---|
| 0.0.0-stage |