TWO VALUES
Start and end stay explicit
Use the two Signals independently when a summary, query, or request needs each boundary as a separate field.
Calendar interval + typed bounds
FORM
DateRange
DateRange is an Input-like trigger with a custom calendar dropdown for one bounded interval and independently typed start and end Signals. Its sm, md, and lg sizes scale both trigger height and displayed range text.
PLAYGROUND
Plan a release window
Choose the start and end in the custom calendar dropdown; separate YYYY-MM-DD values are written while min and max constrain both sides to the planning quarter.
TWO VALUES
Start and end stay explicit
Use the two Signals independently when a summary, query, or request needs each boundary as a separate field.
Calendar interval + typed bounds
signal startDate value:"2026-08-01"
signal endDate value:"2026-08-31"
DateRange start:startDate end:endDate label:"Release window" labelFloating:true startValue:"2026-08-01" endValue:"2026-08-31" min:"2026-07-01" max:"2026-12-31" helpText:"Choose the interval used by the release calendar." variant:"outlined" scheme:"primary" size:"lg" name:"release-window"SCENARIOS
One interval, different workflows
The same range contract supports travel, reporting, and availability flows without changing the component semantics.
DateRange startValue:"2026-09-10" endValue:"2026-09-17" label:"Trip dates" placeholder:"Select a trip" helpText:"Seven nights, including the departure day." variant:"soft" scheme:"info" size:"md"
DateRange startValue:"2026-10-01" endValue:"2026-10-31" label:"Report period" placeholder:"Select a month" variant:"line" scheme:"secondary" size:"sm"
DateRange startValue:"2026-11-05" endValue:"2026-11-08" label:"Availability" placeholder:"Select open dates" min:"2026-11-01" max:"2026-12-31" variant:"solid" scheme:"success" size:"md"FEEDBACK AND SCALE
Keep both boundaries understandable
helpText and errorText apply to the interval. Sizes map to 32, 40, and 48 logical units; labelFloating adds 8 while the range stays one field.
BEHAVIOR
A coordinated date pair
Dowe keeps the start and end values separate in source while rendering a coordinated range surface on every target.
BINDING
Two string Signals
start and end accept string Signal paths and preserve their own YYYY-MM-DD values.
VALIDATION
One bounded interval
min and max constrain the selectable calendar window; invalid date literals are rejected by the compiler.
TARGETS
Aligned calendar and label
Web, iOS, and Android keep the month navigation, selected range, bounds, and start/end behavior paired. The floating label stays aligned with the displayed range instead of the trailing calendar affordance.
API
Props
DateRange also accepts the applicable common spacing, sizing, typography, visibility, accessibility, and shadow props.
Prop | Type | Default |
|---|---|---|
No dataThere are no records to display | ||