Preview
Uses local time.
Usage
DateField usage<DatePicker label="Start date" name="start" min="2026-01-01" />
<DateField label="Run at" name="runAt" type="datetime-local" />API
DateField APIDatePickerProps omits the required type from DateFieldProps; the syntactic extractor reports the shared DateFieldProps contract.
DateFieldProps
| prop | type | notes |
|---|---|---|
| label | string | |
| name | string | |
| id? | string | |
| type | 'date' | 'datetime-local' | |
| defaultValue? | string | |
| min? | string | |
| max? | string | |
| step? | number | 'any' | |
| error? | string | null | |
| hint? | RemixNode | |
| required? | boolean | |
| disabled? | boolean | |
| readOnly? | boolean | |
| autoComplete? | string | |
| mix? | MixInput |