Preet Suthar

Calender

Component 29

About

A comprehensive calendar component for date selection with support for single dates, date ranges, and multiple date selection

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

Code

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

Usage.tsx

import { Calendar } from "@/components/ui/calender";
import React from 'react';

export default function DemoOne() { 
  const [date, setDate] = React.useState<Date>()

  return(
    <div>
      <Calendar selected={date} onSelect={setDate} />
    </div>
  );
}

Dependencies

More by Preet Suthar

View all
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K
  • Shining Text

    Shining Text

    1.5K
  • Magic Text

    Magic Text

    845
  • Toolbar

    Toolbar

    822
  • Hero 2

    Hero 2

    818
  • Typewriter Text

    Typewriter Text

    769
  • AI Chat Input

    AI Chat Input

    734
  • Full Screen Signup

    Full Screen Signup

    731