vue3-range-calendar

Calendar UI component library of Vue.js 3 for picking date, week, month, year ranges, with zero dependencies and high customizability.
5,802 1
Install
npm install vue3-range-calendar
Latest Version:0.3.3
Vue:3
License:MIT
Last Updated:Jul 24, 2024
Links: GitHub  ·  npm
Maintainer: azurewarth

Vue3-range-calendar

Overview

Vue3-range-calendar is a calendar UI component library for picking date, week, month, year ranges, with zero dependencies and high customizability for Vue3.

Installation

npm

yarn add vue3-range-calendar
# or
npm install vue3-range-calendar

Install component to the Vue instance.

import { createApp } from 'vue'
import rangeCalendar from 'vue3-range-calendar'
import 'vue3-range-calendar/dist/styles/index.css'

const app = Vue.createApp({...})
app.use(rangeCalendar)

Then you can use the range calendar on your component.

eg.

<script setup>
const start = ref<Date | null>(null)
const end = ref<Date | null>(null)
</script>


<template>
  <p>start: <input v-model="start" type="text" /></p>
  <p>end: <input v-model="end" type="text" /></p>
  <range-calendar v-model:start="start" v-model:end="end" />
</template>

Documentation

To check out examples and options, visit here.

Related Packages

v2-datepicker

A simple datepicker component based Vue 2.x

12,042 87
@enso-ui/calendar

Calendar page modules and event-management components for Enso UI.

8,197 0
vue-mobile-calendar

a vue component of calendar for mobile Vue移动端日期选择控件

5,490 210
vue2-event-calendar

A vue2 calendar component, have week and month two mode, custom render event

5,382 74
ele-calendar

A Vue.js calendar

3,361

Version History

Version Released Vue License
0.3.3 ^3.2.29 MIT
0.3.2 ^3.2.29 MIT
0.3.1 ^3.2.29 MIT
0.3.0 ^3.2.29 MIT
0.2.0 ^3.2.29 MIT