Calendar

A month calendar for picking a date. The chosen day slides between tiles. Keyboard navigation by day, week and month, plus min and max dates and locales.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

Calendar3D props

PropTypeDefaultDescription
valueDate | nullSelected date. Set it to control the component.
defaultValueDate | nullnullStarting date when uncontrolled.
onValueChange(date: Date) => voidCalled with the chosen date.
minDateEarliest date that can be chosen.
maxDateLatest date that can be chosen.
weekStartsOn0 | 10Day the week starts on: 0 is Sunday, 1 is Monday.
localestring"en-US"Locale for month and weekday names, such as "en-US" or "hi-IN".
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks