Tiny Multifunctional Date Picker For Vue.js

Tiny Multifunctional Date Picker For Vue.js

A small yet multifunctional calendar & date picker for Vue.js app.


DEMO http://vue-mini-calendar.vartan.md/

whith multiple modes:

  • simple
  • multiple
  • range

and multiple views

  • inline
  • grid-calendar
  • input-datepicker etc.

alt text



Installation and Usage

Install the component using npm:

npm i --save vue-mini-calendar

In your application, you'll need to:

  • import the component
import VueMiniCalendar from 'vue-mini-calendar'

and just use it


For more configuration:

		<vue-mini-calendar v-model="date" :config="config"></vue-mini-calendar>

	import vueMiniCalendar from 'vue-mini-calendar';

	export default {
		components: {
		data() {
			return {
				date: new Date(),
				config: {
					mode: 'single', // multiple, single, range, none
					rangeSeparator: ' — ',
					multipleSeparator: ', ',
					format: 'MM/dd/yyyy',
					firstDayOfWeek: 1, // 1 = Sunday ... 7 = Monday
					weekDays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
					months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
					show: 'calendar', // input, inline, calendar

Github Repository

Tags: #VueJs