Files
2025-06-08 16:43:24 -04:00

1.6 KiB

title, description, component, links
title description component links
Range Calendar A calendar component that allows users to select a range of dates. true
source doc api
https://github.com/huntabyte/shadcn-svelte/tree/next/sites/docs/src/lib/registry/ui/range-calendar https://bits-ui.com/docs/components/range-calendar https://bits-ui.com/docs/components/range-calendar#api-reference
<script> import ComponentPreview from "$lib/components/component-preview.svelte"; import PMAddComp from "$lib/components/pm-add-comp.svelte"; import PMInstall from "$lib/components/pm-install.svelte"; import Steps from "$lib/components/steps.svelte"; import InstallTabs from "$lib/components/install-tabs.svelte"; import Step from "$lib/components/step.svelte"; </script>

About

The <RangeCalendar /> component is built on top of the Bits Range Calendar component, which uses the @internationalized/date package to handle dates.

Blocks

You can see the RangeCalendar component in action in the 30+ Calendar Blocks we've built.

Installation

{#snippet cli()} {/snippet} {#snippet manual()}

Install bits-ui and @internationalized/date:

Copy and paste the component source files linked at the top of this page into your project.

{/snippet}