Calendar
A month grid with the chosen day in grass.
October 2026
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 27 | 28 | 29 | 30 | 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 |
Install and use
The first command adds the component and the Mine theme, the second adds this example. Render <Mine> once near your root for the skin, sounds and narrator.
"use client"
import {
Calendar,
CalendarDay,
CalendarGrid,
CalendarHeading,
CalendarNext,
CalendarPrevious,
CalendarWeekday,
CalendarWeekdays,
CalendarWeeks,
} from "@/components/ui/calendar"
import { ChevronLeftIcon, ChevronRightIcon } from "lucide-react"
function Example() {
return (
<Calendar defaultValue="2026-10-16">
<div data-slot="row">
<CalendarPrevious data-variant="ghost">
<ChevronLeftIcon aria-hidden="true" />
</CalendarPrevious>
<CalendarHeading />
<CalendarNext data-variant="ghost">
<ChevronRightIcon aria-hidden="true" />
</CalendarNext>
</div>
<CalendarGrid>
<CalendarWeekdays>
{(index) => <CalendarWeekday index={index} />}
</CalendarWeekdays>
<CalendarWeeks>
{(cell) => <CalendarDay value={cell.date} />}
</CalendarWeeks>
</CalendarGrid>
</Calendar>
)
}
export { Example }