Min and Max Date
Limit the selectable days to a window with @pglejzer/datepicker-ui.
From today
#calendar.minDate and maxDate accept a Date, an ISO YYYY-MM-DD string or "today". With minDate: "today" past days are disabled.
A fixed window
#Two ISO strings give a fixed window. The calendar opens on the nearest month inside the limits, and a typed date outside them shows labels.beforeMinDate or labels.afterMaxDate.
Docs: Disabled Dates · Typed Input · Options