Wensity Labs

Calendar

Component 189

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

    286
  • Button

    Button

    87
  • Color Picker

    Color Picker

    71
  • Image Comparison Slider

    Image Comparison Slider

    65
  • AI Prompt Input

    AI Prompt Input

    54
  • Text Morphing

    Text Morphing

    42
  • Navigation Menu

    Navigation Menu

    36
  • Carousel

    Carousel

    36