Components (172)
Date Picker
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Date Picker…
Usage
import { DatePicker } from "ui-kit/components/date-picker";Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | Date | null | — | — |
defaultValue | Date | null | null | — |
onChange | (date: Date) => void | — | — |
min | Date | — | — |
max | Date | — | — |
isDateDisabled | (date: Date) => boolean | — | — |
locale | string | — | — |
weekStartsOn | 0 | 1 | 2 | 3 | 4 | 5 | 6 | — | — |
placeholder | string | "Pick a date" | — |
label | ReactNode | — | — |
hint | ReactNode | — | — |
error | ReactNode | — | — |
optional | boolean | false | — |
size | "sm" | "md" | "lg" | "md" | — |
disabled | boolean | false | — |
name | string | — | — |
required | boolean | — | — |
today | Date | — | — |
defaultOpen | boolean | false | — |
id | string | — | — |
className | string | — | — |
aria-label | string | — | — |
ref | Ref<HTMLButtonElement> | — | — |