An Elegant Calendar And Datepicker Plugin for Vue

v-calendar is a neat calendar and date picker plugin with events for Vuejs.

Version 3 brings a host of feature improvements and bug fixes, including weekly views, a simplified time picker, recurring date ranges and time rules, and performance improvements.

Theme

VCalendar provides an attractive default design based on simple colors and dark mode. Custom styling with class overrides and css variables is also available.

Layouts

Calendars may be configured to adapt to multiple layouts. For example, weekly calendars can be used in restricted environments. Also, calendars can also be configured for multi-row and column formats.

Attributes

Decorate calendars with themes on specific dates or date ranges. It can even be shown to repeat date patterns.

Date Picker

VDatePicker is a feature-rich date picker component implemented as a wrapper for VCalendar, which can be easily linked to a variety of date formats.

Must Read: JavaScript Library Generate Event Calendar Links For Google, Yahoo, And Outlook | Calendar Link

How to make use of it:

1. Install and download via npm:

npm install v-calendar

2. Import and use VCalendar.

import Vue from 'vue';
import VCalendar from 'v-calendar';

// Use v-calendar & v-date-picker components
Vue.use(VCalendar, {
  componentPrefix: 'vc',  // Use <vc-calendar /> instead of <v-calendar />
  ...,                // ...other defaults
});
import Calendar from 'v-calendar/lib/components/calendar.umd'
import DatePicker from 'v-calendar/lib/components/date-picker.umd'

// Register components in your 'main.js'
Vue.component('calendar', Calendar)
Vue.component('date-picker', DatePicker)

// Or just use in separate component
export default {
  components: {
    Calendar,
    DatePicker
  }
  ...
}

3. If you still want to provide default settings for plug-ins, contact setupCalendar us before using any plug-ins.

import { setupCalendar} from 'v-calendar'

// main.js
setupCalendar({
  componentPrefix: 'vc',
  ...,
});

javascript-event-calendar-free

html-event-calendar-template

API

Props

Must Read: [ES6] Simple Pure JavaScript Calendar | rolyart-calendar

NameTypeDefault
mode‘date’ | ‘dateTime’ | ‘time’‘date’
model-valueDatePickerDatenull
rules‘auto’ | DatePartsRulesundefined
is-requiredbooleanfalse
is24hrbooleantrue
hide-time-headerbooleanfalse
time-accuracynumber2
update-on-inputbooleantrue
input-debouncenumber1000
popovertrue | Partial<PopoverOptions>true
drag-attributeAttributeConfigundefined
select-attributeAttibuteConfigundefined

Events

Must Read: Simple Javascript Calendar With Glassmorphism User Interface

EventParameter Type
update:modelValueDatePickerDate
dragSimpleDateRange | null
popover-will-showHTMLElement
popover-did-showHTMLElement
popover-will-hideHTMLElement
popover-did-hideHTMLElement

See Demo And Download

vue-calendar-datepicker-plugin

Official Website(nathanreyes): Click Here

This superior jQuery/javascript plugin is developed by nathanreyes. For extra Advanced usage, please go to the official website.

Related Posts

drag-drop-file-5x5-jq-uploader

Responsive Drag and Drop File Uploader/Download Plugin | 5x5_jq_uploader

5x5_jq_uploader plugin can be used to instantly create a drop file area and file queue with a little bit of preparation. Bootstrap is used for responsive planning…

Bootstrap-Dark-Mode

Stylesheet For Implementing Dark Mode with Bootstrap

Bootstrap Dark Mode provides a style sheet and two texts that allow you to implement Dark Mode on your website. Initially loaded based on user preferences, can…

responsive-navigation-menu

Multi-purpose Navigation Menu for Javascript Library | jQuery Corenav

coreNavigation is a multipurpose navigation menu for a jquery based javascript library, comes with more style, and is easy to integrate. 11 Default Menu 2 Responsive Navigation…

Simple-Multi-Select-Dropdown-Pure-Vanilla-Javascript

Simple Multi-Select Dropdown Pure Vanilla Javascript | multiSelect.js

MultiSelect.js is a simple, clean, and progressive JavaScript library designed for easy integration with any type of project or system. The design was heavily influenced by the…

Confetti-Falling-Animation-Effect-party

Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…

how-to-create-popup-in-html-with-css

How To Create A Popup in HTML with CSS

How to create popup in html with css – Popup without JavaScript is an elegant pop-up panel component with an animated scale, written in CSS. Have you…