| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 | 1 | 2 | 3 | 4 |
<Calendar aria-label="Appointment date" />npx shadcn@latest add @dotui/calendarUse calendars to allow users to select a single date value.
import { Calendar } from "@/components/ui/calendar";<Calendar aria-label="Date" />Missing description.
Supports all header attributes.
A calendar grid displays a single grid of days within a calendar or range calendar which can be keyboard navigated and selected by the user.
| Prop | Type | Default | |
|---|---|---|---|
union | — | ||
"narrow" | "short" | "long" | "narrow" | ||
DOMRenderFunction<"table", undefined> | — | ||
A calendar cell displays a date cell within a calendar grid which can be selected by the user.
| Prop | Type | Default | |
|---|---|---|---|
"primary" | "accent" | 'accent' | ||
CalendarDate | — | ||
ReactNode | function | — | ||
DOMRenderFunction<"div", CalendarCellRenderProps> | — | ||
Last updated on 1/14/2026
Bringing singularity to the web.
Built with passion by @mehdibha.