Date Picker
Live preview and documentation for the Date Picker component.
Preview
componentPreview.loading
About
Date selector that combines a text field (trigger) with an overlaid KasyCalendar. The trigger reuses KasyTextField in read-only mode, so it automatically inherits the design system's label, hint, suffix icon, padding, border, and shadow.
value/onChanged: single date (singlemode, default).range/onRangeChanged: start/end range (selectionMode: KasyDateSelectionMode.range) — this is how the catalog'sDateRangePickeris built; there's no separateKasyDateRangePickerwidget.presentation:popover(default on desktop),dialog,bottomSheet(default on phone/tablet). An explicit value always overrides the adaptive default.dateFormat: regional preset (us,southAmerican,european,iso,eastAsian);formatDateallows fully custom formatting and takes priority.locale: month names, weekday abbreviations, and default format (KasyDatePickerLocale.en/es/pt); follows the app's active language when omitted.minDate/maxDate: limits selectable dates.monthsToShow: months side by side (2 or 3) for wide layouts.variant:primary(default, white surface + soft shadow) orsecondary("filled" look, no shadow).label,showRequiredIndicator,description,errorText,isInvalid: same form fields asKasyTextField.showSuffix: shows/hides the calendar icon in the suffix.showBarrier: shows/hides the darkened scrim behind the popover.enabled: disables the entire field.
Last updated on 08/23/2026

