Skip to content

Align Calendar range selection with shadcn/ui mode prop #2735

@maxffarrell

Description

@maxffarrell

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

#2732

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions