Date Range Picker
Formsatlas-date-range-pickerExamples
With presets
Pick a start and end date; showPresets adds shortcuts such as “Last 7 days”.
— → —
Bounds, format and separator
minDate and maxDate (ISO dates) limit what can be picked; dates outside are disabled in the calendar. dateFormat and separator shape the trigger text.
Value: 2026-04-06 / 2026-04-17
API
Generated from the library source, so it always matches the code.
AtlasDateRangePickerComponent atlas-date-range-picker
| Input | Type | Default | Description |
|---|---|---|---|
| value two-way | DateRange | — | { start, end } ; either is null until chosen (two-way, or Signal Forms [field] ). |
| disabled | boolean | false | [field] . |
| errors | readonly ValidationError.WithOptionalFieldTree[] | [] | [field] . |
| required | boolean | false | [field] . |
| invalid | boolean | false | [field] . |
| touched | boolean | false | [field] . |
| readonly | boolean | false | [field] . |
| pending | boolean | false | [field] . |
| name | string | '' | [field] . |
| placeholder | string | 'Select date range...' | |
| ariaLabel | string | null | null | |
| inputId | string | undefined | undefined | id of the focusable element, so a visible <label atlasLabel for="…"> names it. Inside atlas-form-field the field supplies one. |
| ariaDescribedBy | string | null | null | aria-describedby , merged with the surrounding form field's hint or error. |
| class | string | '' | cn() ; yours win on conflicts. |
| dateFormat | AtlasDateFormat | undefined | undefined | |
| minDate | string | '' | |
| maxDate | string | '' | |
| showPresets | boolean | false | |
| presets | DateRangePreset[] | [] | |
| separator | string | '→' |
| Output | Payload | Description |
|---|---|---|
| touch | void |
Types
DateRange
| Property | Type | Description |
|---|---|---|
| start | string | null | |
| end | string | null |