DatePicker
Single-date + date-range picker with advanced filters, presets, and inline calendar grids.
Live preview
Default — empty (placeholder)
empty state · placeholder visible
Pre-selected — May 15, 2026
pre-filled value · formatted DD/MM/YYYY
English locale
locale="en" · format MM/DD/YYYY
Sizes
4 sizes — xs (28px) / sm (32px) / md (40px default) / lg (48px). Padding + font scale together. Auto-fit grid: cellMinWidth=220px (DatePicker placeholder shorter than Input).
inputSize="xs"
inputSize="sm"
inputSize="md"
inputSize="lg"
Min / max bounds
Only allows 2026 dates · min + max bound the picker
States
2 disabled-axis states — `invalid` (red ring + danger tone) / `disabled` (slate, no interaction). Auto-fit grid: cellMinWidth=240px.
state="invalid"
state="disabled"
Import & files
Import
import { DatePicker } from "@dol/ui/datepicker";- Source file
packages/@dol/ui/src/datepicker/DatePicker.tsx
Figma source
Figma source 11 sets
- Page
- DatePicker
- Sets
- 11 + 5 standalone
- Primary set
-
date-picker· 30 variants Open in Figma →
Showing:
date-picker 10 other sets
-
Date picker3 variants Figma → -
Date picker/Grey style/Date range (New)11 variants Figma → -
Date picker/Grey style/Month range7 variants Figma → -
Date picker/Grey style/Single Date (New)12 variants Figma → -
Date picker/Light style/Date range (New)11 variants Figma → -
Date picker/Multi mode4 variants Figma → -
Date picker/Quick select3 variants Figma → -
Date picker/Title button2 variants Figma → -
Date picker/Title button (new)2 variants Figma → -
Quater picker2 variants Figma →
AI context
AI context
Markdown summary safe to paste into Claude / ChatGPT / Cursor — includes name, status, import, props, axes, examples, figma source.
# DatePickerSlug: `datepicker`Domain: general · Category: inputDesign: stable · Code: coded
## DescriptionSingle-date + date-range picker with advanced filters, presets, and inline calendar grids.
## Import```tsimport { DatePicker } from "@dol/ui/datepicker";```Source: `packages/@dol/ui/src/datepicker/DatePicker.tsx`
## Figma sourcePage: DatePickerSets: 11Primary: date-pickerOpen: https://www.figma.com/design/DqRd7UQkNGcdvYL5fwZxlf/?node-id=2310-1751Related
Status legend
Status legend
- Stable
- Design + code shipped, full DS parity.
- Partial
- Design ready, some variants/states missing in code.
- Coded
- Implemented in code; design canon may not yet exist.
- Design only / Code only
- One side present; awaiting the other.
Phase 1.X-5.2 detail view — read-only metadata. Code preview + recipe + live demo deferred (need @dol/ui registry integration).