Clevision

Calendar

Component 1

About

Here is Calendar component

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 { useState } from 'react'

import { Calendar } from '@/components/ui/calendar'

const CalendarMultiSelectDemo = () => {
  const [dates, setDates] = useState<Date[]>([new Date(2025, 5, 12), new Date(2025, 5, 17)])

  return (
    <div>
      <Calendar mode='multiple' required selected={dates} onSelect={setDates} max={5} className='rounded-lg border' />
      <p className='text-muted-foreground mt-3 text-center text-xs' role='region'>
        Multi day select calendar
      </p>
    </div>
  )
}

export default CalendarMultiSelectDemo

More by Clevision

View all
  • Portfolio Hero

    Portfolio Hero

    1.3K
  • Syntra Hero

    Syntra Hero

    789
  • Hero Section

    Hero Section

    461
  • Hardware Hero

    Hardware Hero

    263
  • Studio Hero

    Studio Hero

    253
  • Saas Hero Section

    Saas Hero Section

    248
  • Hero Section 41

    Hero Section 41

    213
  • Nexa Canvas Hero

    Nexa Canvas Hero

    125