Wensity Labs

Calendar

Component 287

About

An inline month calendar with single, range and multiple date selection, event dots and animated month changes. Use it for booking, scheduling and availability views.

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

Code

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

Usage.tsx

"use client";

import * as React from "react";
import { Calendar } from "@/components/ui/calendar";

const today = new Date();

export function CalendarPreview() {
  const [selected, setSelected] = React.useState<Date | undefined>(today);
  return <Calendar selected={selected} onSelect={setSelected} />;
}

export default function Demo() {
  return <CalendarPreview />;
}

Dependencies

More by Wensity Labs

View all
  • Sidebar

    Sidebar

    391
  • Button

    Button

    131
  • Color Picker

    Color Picker

    97
  • Image Comparison Slider

    Image Comparison Slider

    82
  • AI Prompt Input

    AI Prompt Input

    80
  • Text Morphing

    Text Morphing

    60
  • Carousel

    Carousel

    57
  • GitHub Activity Grid

    GitHub Activity Grid

    50