Semantics
A labelled trigger opens a focus-managed calendar surface.
Composite inputs · stable · MIT
A formatted trigger composing Gummy Popover and Calendar.
Install editable source
Behavior contract
A labelled trigger opens a focus-managed calendar surface.
Popover and Calendar keyboard contracts compose.
Light and dark themes, logical RTL layout, reduced motion, responsive content, and forwarded public refs.
Source-derived reference
These public React parts are read directly from the canonical source during the documentation build.
GummyDatePickerGummyDatePickerPropsComposes { label: string; value?: Date; defaultValue?: Date; onValueChange?: (date: Date) => void; min?: Date; max?: Date; locale?: string; disabled?: boolean; } & Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange">
Troubleshooting
Implementation decisions
Use a date picker to support, rather than prevent, direct and correctly formatted date entry. State the expected date meaning, locale, time-zone boundary, allowed range, and unavailable dates in nearby guidance. Preserve keyboard movement and a route back to the invoking field. Test month and year boundaries, leap days, minimum and maximum values, typed errors, RTL layout, high zoom, and server-side validation.
Live product source
The Component Lab exercises real source across default, focus, disabled, responsive, dark, reduced-motion, and RTL contexts.
Open the live Component LabInteractive inspection
Load the real component preview when you are ready to interact with its responsive, theme, and direction controls.
Editable source
The registry payload stays off the initial page request.