Installation
Examples
Basic date picker
Label and native date input.
Error state
Shows red border and error message.
Please pick a valid date.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | ISO date string. |
| onChange | (v: string) => void | — | Called when date changes. |
| label | string | — | Field label. |
| invalid | boolean | false | Error state. |
| min | string | — | Minimum date (ISO string). |
| max | string | — | Maximum date (ISO string). |