Align Calendar range selection with shadcn/ui mode prop

Author: maxffarrellCreated Jun 5, 2026Updated Sep 22, 2026
Labelsparity

Description

shadcn/ui exposes range selection as part of the Calendar component API instead of requiring a separate range calendar component for the common docs path.

Upstream citations:

Proposed outcome

  • Allow <Calendar mode="range" /> in shadcn-svelte.
  • Preserve existing <RangeCalendar /> usage for projects that already use it.
  • Update docs so new range-calendar usage points to Calendar with the mode prop.
  • Keep generated registry output complete so installing Calendar includes the range implementation needed by mode="range".

Related PR

https://github.com/huntabyte/shadcn-svelte/pull/2732