Database
Date Cell Picker
The date property popover: typed date input, month calendar, end date / time switches and Clear.
Oct 2026
Usage
- Use
DateCellPickeras the popover behind a date property cell. - It emits a single ISO date (
YYYY-MM-DD) ornullfrom Clear; the end date, time and reminder switches only change the popover locally. - Pass
todaywhen you need a fixed reference date (tests, demos). - Don’t use it for date fields in forms; use
DatePickerorDateRangePickerinstead.
Installation
Install the package (React 19):
terminal
terminal
terminal
Import the styles once, in your app entry or root layout:
/src/main.tsx
Use it anywhere inside your app's <Theme> (see Installation):
/src/DateCellPickerExample.tsx
Examples
Empty value
Oct 2026
Composition
anatomy
API Reference
DateCellPicker
Based on <div> and supports its props (except onChange). Adds:
| Prop | Type | Default |
|---|---|---|
value | string | null | |
onChange | (iso: string | null) => void | |
today | string | |
width | number | 248 |
Accessibility
- Day buttons have a full date
aria-labelandaria-pressedfor the selected day; the grid usesgrid/columnheader/gridcell. - Month arrows are labelled "Go to previous month" / "Go to next month"; switches are labelled "End date" and "Include time".
© 2026 Motion. Internal documentation.