Components
Date pickers
A day, a range, or a day with a time. The calendar uses the same radius and foreground as the rest of the system.
Buy nowDate picker
- Variant
- Single
- Size
- md
- State
- Default
- Placeholder
- Pick a date
- Icon
- True
<DatePicker />
How to use
A single day opens from the field. The field is the same width as the calendar. Days before today are grey and cannot be chosen. Moving to the next month slides the dates across and fades the month name.
Date range
- Variant
- Range
- Size
- md
- State
- Default
- Placeholder
- Add date
- Icon
- False
<Calendar mode="range" selected={range} onSelect={setRange} disabled={{ before: today }} />How to use
Start and end use the label-in field. One field is active at a time, and the calendar opens above it. After the start date, the days up to the date under the pointer fill in, then the end date confirms the range. A click outside closes the calendar.
Date pickers exists so designers, engineers, and AI start from the same decision. The preview on this page is the component as it ships. You compose it. You do not redraw it.
Use it when the job matches the name. Reach for a neighbour in the system when it does not. Names in Figma match the names in code, which is what keeps a prototype close to what actually ships.
Tokens
| Token | Value | Use |
|---|---|---|
| --date-pickers-bg | var(--background) | Surface behind the control |
| --date-pickers-fg | var(--foreground) | Label and icon |
| --date-pickers-border | var(--border) | Edge |
| --radius-md | 10px | Default corner |
| --duration-fast | 120ms | Hover and press |
Included
- Single, range, and time
Memorisely