> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/huntabyte/shadcn-svelte/llms.txt
> Use this file to discover all available pages before exploring further.

# Range Calendar

> A calendar component that allows users to select a range of dates.

## About

The `<RangeCalendar />` component is built on top of the [Bits Range Calendar](https://www.bits-ui.com/docs/components/range-calendar) component, which uses the [@internationalized/date](https://react-spectrum.adobe.com/internationalized/date/index.html) package to handle dates.

## Blocks

You can see the `RangeCalendar` component in action in the 30+ [Calendar Blocks](https://www.shadcn-svelte.com/blocks/calendar) we've built.

## Installation

<Tabs>
  <Tab title="CLI">
    ```bash theme={null}
    npx shadcn-svelte@next add range-calendar
    ```
  </Tab>

  <Tab title="Manual">
    <Steps>
      <Step title="Install dependencies">
        ```bash theme={null}
        npm install bits-ui @internationalized/date -D
        ```
      </Step>

      <Step title="Copy and paste the component source">
        Copy and paste the component source code into your project.
      </Step>
    </Steps>
  </Tab>
</Tabs>

## Links

* [Source](https://github.com/huntabyte/shadcn-svelte/tree/next/sites/docs/src/lib/registry/ui/range-calendar)
* [Bits UI Documentation](https://bits-ui.com/docs/components/range-calendar)
* [API Reference](https://bits-ui.com/docs/components/range-calendar#api-reference)
