Date Picker
A typed date input paired with a calendar popover over one value, for single dates (DatePicker) or ranges (DateRangePicker).
Overview
- Granularity: month- and year-only, as well as days.
- Availability:
unavailableRangesblocks dates. - Non-modal popover: the input stays editable while the calendar is open, and the calendar follows what is typed.
Installation
CLI
Manual
- 1
Register the @fma-ds namespace in components.json (once)
- 2
Add the item
Files land in
components/fma-ds/date-picker.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- @internationalized/date@^3.12.4cn@^0.5.0lucide-react@^1.61.0react-aria-components@^1.22.1
- Registry
- @fma-ds/calendar@fma-ds/date-field@fma-ds/input-group@fma-ds/popover@fma-ds/date-granularity@fma-ds/types