Clevision

Calendar

Navigation 6

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 CalendarRightYearMonthDemo = () => {
  const [date, setDate] = useState<Date | undefined>(new Date())

  return (
    <div>
      <Calendar
        mode='single'
        selected={date}
        defaultMonth={date}
        onSelect={setDate}
        className='rounded-md border'
        classNames={{
          month_caption: 'flex items-center h-8 justify-start',
          nav: 'flex justify-end absolute w-full items-center'
        }}
      />
      <p className='text-muted-foreground mt-4 text-center text-xs' role='region'>
        Right side month year navigation calendar
      </p>
    </div>
  )
}

export default CalendarRightYearMonthDemo

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

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    179
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    457
  • Meniscus — Liquid Bottom Navigation Bar

    Meniscus — Liquid Bottom Navigation Bar

    40
  • Sidebar

    Sidebar

    445
  • Tabs

    Tabs

    38
  • Stacked Circular Footer

    Stacked Circular Footer

    471
  • Footer

    Footer

    470
  • Sidebar

    Sidebar

    367