Components
Components
DateRangePicker
Accessible start and end date fields with a range calendar popover and optional presets.
newfree
Install
@hewnui/ui · hewnui
DateRangePicker wraps React Aria date segments and RangeCalendar navigation with optional quick-select presets. Lives under Date and Time in the component gallery.
Travel datesPick a start and end, or use a preset.
mmddyyyy
mmddyyyy
Usage
Presets
Built-in presets cover Today, Last 7 days, Last 30 days, and This month. Pass
showPresets={false} to hide them, or supply a custom presets list.
Bounds and unavailable dates
Accessibility
- Dual segmented date fields for start and end
- Range calendar grid keyboard navigation
- Localized formatting via React Aria
- Form submission through
startNameandendName
API reference
Props for DateRangePicker from @hewnui/ui/date-range-picker. Generated from component types — not hand-written.
Prop
Type