What the person is doing
The user is selecting a period for analytics, booking, scheduling, eligibility, reporting, campaign planning, or event duration.
Application · lesson 15 of 34 · Input And Data Entry
Underlying principle: An input pattern carries a question, an expected answer, and a consequence. Visible labels, suitable controls, tolerant entry, and specific recovery keep that agreement clear.
Provide labelled start and end fields tied to one calendar range surface that highlights the span, supports presets and manual entry, validates boundary order and duration, and applies or cancels the complete range deliberately.
An input pattern carries a question, an expected answer, and a consequence. Visible labels, suitable controls, tolerant entry, and specific recovery keep that agreement clear.
The user is selecting a period for analytics, booking, scheduling, eligibility, reporting, campaign planning, or event duration.
Provide labelled start and end fields tied to one calendar range surface that highlights the span, supports presets and manual entry, validates boundary order and duration, and applies or cancels the complete range deliberately.
Empty start and end fields with visible labels, date-format hints, and a calendar trigger.
Does the task require a continuous period, or is a single date enough?
Opening the picker reveals both endpoint fields, presets when available, and a calendar that keeps the current range visible.
The user is selecting a period for analytics, booking, scheduling, eligibility, reporting, campaign planning, or event duration.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The user is selecting a period for analytics, booking, scheduling, eligibility, reporting, campaign planning, or event duration.
Provide labelled start and end fields tied to one calendar range surface that highlights the span, supports presets and manual entry, validates boundary order and duration, and applies or cancels the complete range deliberately.
Empty start and end fields with visible labels, date-format hints, and a calendar trigger.
The selected range disappears when users navigate to the next month.
Label start and end fields separately and associate each hint and error with the correct field.
U.S. Web Design System - checked
USWDS date range picker guidance supports two labelled endpoints, manual date entry, scheduling and weekday context, min/max bounds, accessibility testing, and no auto-submission.
IBM Carbon Design System - checked
Carbon date picker guidance supports range endpoints, manual endpoint fields, selected start, days in range, end hover/focus, two-click or keyboard selection, and min/max dates.
Shopify Polaris - checked
Shopify Polaris date range guidance supports presets, custom endpoint fields, calendar ranges, multi-month spans, explicit Apply and Cancel, disabled dates, and invalid-date recovery.
Source trail checked: