shadcn-vue/apps/www/src/content/docs/components/calendar.md
2023-09-20 14:19:08 +08:00

789 B

title description
Calendar A date field component that allows users to enter and edit date.

About

The Calendar component is built on top of VCalendar.

Installation

npx shadcn-vue@latest add calendar

<template #Manual>

Install the following dependency

npm install v-calendar

Copy and paste the following code into your project

<<< @/lib/registry/default/ui/calendar/Calendar.vue

Usage

<script setup lang="ts">
import { Calendar } from '@/components/ui/calendar'
</script>

<template>
  <Calendar />
</template>