Calendar Month

Month calendar grid with weekday headers and clickable day cells that highlight the selected date. A simple Tailwind base for date views and schedulers.

src/registry/ui/calendar-month.tsx/r/calendar-month.json

Installation#

bash
npx shadcn@latest add @minidev/calendar-month

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/calendar-month.json

Usage#

tsx
import { CalendarMonth } from "@/components/ui/calendar-month"

export function Example() {
  return <CalendarMonth />
}

API reference#

CalendarMonth props
PropTypeDefault
classNamestring-
selectednumber-
onSelect(d: number) => void-
All form components

Learn more