DatePicker

40px day cells and 64px month cells with 6px corners: today, selected, in range, outside and disabled. Pickers carry presets on the right.

Figma: 10 / Components / DatePicker

Usage

Source: src/components/ui/date-picker.tsx
import { DatePickerMonthRange, DatePickerRange, DatePickerSingle } from '@/components/ui/date-picker'
<DatePickerRange defaultValue={{ from: new Date(2026, 0, 1), to: new Date(2026, 0, 31) }} />

DatePicker/Single

One calendar month. Shown open.
January 2026
SuMoTuWeThFrSa

DatePicker/Range

Two months side by side with day presets.
January 2026
SuMoTuWeThFrSa

DatePicker/MonthRange

Two years side by side with month presets.
2026

When to use

When to reach for it, and when to use something else.

Use it for

Complete: Reporting periods on dashboards and charts.
Complete: Month ranges for revenue overviews.

Avoid

Not complete: Birthdays and other far-away dates; use an Input with a format hint.

DatePickerSingle

PropTypeDefaultDescription
defaultValueDate–The starting date.
onChange(date: Date) => void–Called with the chosen date.
inlinebooleanfalseShows the calendar without the trigger.

DatePickerRange, DatePickerMonthRange

PropTypeDefaultDescription
defaultValue{ from: Date, to: Date }–The starting range.
defaultPresetstring–Marks a preset as active.
onChange(range: DateRange) => void–Called with the chosen range.
inlinebooleanfalseShows the panel without the trigger.

GoodUnited design system. The Figma file is the source of truth for every color, type size and component.

Made with Modulify