Date Picker
stableA calendar inside a popover for picking a date.
Basic usage
Examples
Controlled with min/max
Restrict selectable dates to a valid booking window.
MUI-style field
Use the direct component API for label, value, onChange, validation bounds, view props and helper text.
Only dates inside the release window can be selected.
Validation and loading
Mirror MUI validation props such as disablePast, shouldDisableDate, loading and renderLoading.
Weekends and past dates are disabled.
Date picker field
DatePicker combines a trigger, value display and calendar popover.
Features
- MUI-style field API.
- Popover-anchored calendar.
- Controlled or uncontrolled.
Installation
bash
pnpm dlx structyl add date-pickerAPI Reference
Date Picker API reference
Full props, types, defaults, and all 7 parts.