vue-tailwind-datepicker-es
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Vue Tailwind Datepicker

Vue Tailwind Datepicker

A Datepicker component for Vue 3 using Tailwind and dayjs.

Powered by

Vue Tailwind Datepicker

Documentation

Go to full documentation

Installation

⚠️ Vue Tailwind Datepicker uses Tailwind CSS (with the @tailwindcss/forms plugin) & Day.js under the hood, you must install those packages before. You can follow this tutorial.

Install via npm

npm install vue-tailwind-datepicker

Install via yarn

yarn add vue-tailwind-datepicker

Simple Usage

How it works,

<script setup>
  import { ref } from 'vue'
  import VueTailwindDatepicker from 'vue-tailwind-datepicker'

  const dateValue = ref([])
  const formatter = ref({
    date: 'DD MMM YYYY',
    month: 'MMM'
  })
</script>

<template>
  <div>
    <vue-tailwind-datepicker :formatter="formatter" v-model="dateValue" />
  </div>
</template>

Theming options

Light Mode

Light Mode

Dark Mode

Dark Mode

Changelog

All notable changes to this project will be documented in the Releases Page.

License

The MIT License. Please see for more information.

Thanks to

Package Sidebar

Install

npm i vue-tailwind-datepicker-es

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

212 kB

Total Files

52

Last publish

Collaborators

  • lacrioque