Skip to content
Projects

ManukMinasyan/vue-functional-calendar

View on GitHub

About

Vue.js Functional Calendar | Component/Package

Productivity & Automation

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Vue Functional Calendar

Vue Functional Calendar

Lightweight calendar and datepicker for Vue 3

Version Software License Downloads Open Collective

Sponsors

Relaticle    GetCopy

Documentation

Live examples, a playground and the full reference are at https://manukminasyan.github.io/vue-functional-calendar/.

Date picker, date range with presets, multiple calendars, time picker, modal and typeable inputs, theming with dark mode, keyboard support and Intl locales. No runtime dependencies.

Install

npm install vue-functional-calendar

This is the Vue 3 build and needs Vue ^3.3.0. Vue 2 users install vue-functional-calendar@^2.10.0.

Usage

Import the component and its stylesheet.

<script setup>
import { ref } from 'vue'
import { FunctionalCalendar } from 'vue-functional-calendar'
import 'vue-functional-calendar/style.css'

const value = ref({})
</script>

<template>
  <FunctionalCalendar v-model="value" is-date-range can-clear-range />
</template>

value.dateRange holds the start and end of the range.

Upgrading from 2.x

Read MIGRATION.md. Templates that use v-model need no change, and the stylesheet is now a separate import.

License

MIT

Explore related projects

Loading…