TailGrids

Range Calendar

Forms

About

A React Range Calendar component built with Tailwind CSS. Select date ranges, mark unavailable dates, and navigate through months with accessible keyboard support and full range selection.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Range Calendar to your project and fits it to your theme.

Code

How Range Calendar is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import { RangeCalendar, type DateValue } from "@/components/ui/tailgrids-range-calendar"
import { isWeekend } from "@internationalized/date"
import { useLocale } from "react-aria-components"

export default function RangeCalendarPreview() {
  const { locale } = useLocale();

  const isDateUnavailable = (date: DateValue) => isWeekend(date, locale);

  return (
    <div className="flex justify-center p-6">
      <RangeCalendar
        aria-label="Stay dates"
        isDateUnavailable={isDateUnavailable}
      />
    </div>
  );
}

Dependencies

More by TailGrids

View all
  • Text Field

    Text Field

  • Spinner

    Spinner

  • Number Field

    Number Field

  • Breadcrumbs

    Breadcrumbs

  • Radio Button

    Radio Button

  • Field

    Field

  • Social Login Buttons

    Social Login Buttons

  • Link

    Link

More in Forms

View all
  • Form

    Form

    7
  • Login 2

    Login 2

    16
  • Contact Form

    Contact Form

    33
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    95
  • Premium Auth

    Premium Auth

    614
  • Onboarding Stepper

    Onboarding Stepper

    13
  • Authentication Card

    Authentication Card

    52