Wensity Labs

Calendar

Component 212

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

    309
  • Button

    Button

    99
  • Color Picker

    Color Picker

    75
  • Image Comparison Slider

    Image Comparison Slider

    70
  • AI Prompt Input

    AI Prompt Input

    56
  • Text Morphing

    Text Morphing

    46
  • Carousel

    Carousel

    41
  • GitHub Activity Grid

    GitHub Activity Grid

    39