Skip to content

Date Picker

Date selection with min/max constraints and direct month/year controls.

Usage

vue
<script setup>
import { ref } from "vue";
import { ArchDatePicker } from "@archora/ui";

const date = ref("");
</script>

<template>
  <ArchDatePicker v-model="date" min="2026-01-01" max="2026-12-31" />
</template>

Live sandbox

Date Picker can be tested directly on this page.

interactive
<DatePicker />

Props

PropTypeDefaultDescription
modelValuestring-v-model value.
placeholderstring"Select date"Placeholder.
minstring-Minimum value.
maxstring-Maximum value.
disabledbooleanfalseDisables the component.

Events

EventPayloadDescription
update:modelValuevalue: stringmodelValue change.
changevalue: stringValue change.