Skip to Content
🎉Introducing Pumki UI
ComponentsDate TimeDate Field

Datefield

Pumki UIPumki UI
Birth date
mmddyyyy

Installation

Usage


import { DateField, DateInput } from "@/components/pumki-ui/date-time/datefield";

<Datefield />

Props

PropTypeDefaultDescription
labelstringThe label for the field, displayed above the input segments.
descriptionstringOptional description text shown below the input segments.
errorMessagestring | ((validation: ValidationResult) => string)Error message to display below the field, or a function returning a message based on validation.
Last updated on