MiHCM
primitives/@mihcm/ui·v0.21.0·stable

DatePicker

DayPicker v10-backed trigger + popover for single dates, ranges, date-time, and time-only fields. Calendar and DatePicker share one date engine.

Live preview

Adjust the controls on the right; the preview and code update in real time.

Install

Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.

npx @mihcm/cli add DatePicker
Copies the source into components/ds/DatePicker.tsx. You own the file. Use --out to override the directory or --force to overwrite.