Search

Search components and blocks

Sign in

Calendar

Pro

A month grid with a sliding selection highlight, directional month transitions and a today marker.

pnpm dlx shadcn@latest add @ditherui/calendar

November 2026

SuMoTuWeThFrSa

Props

todayDate—
valueDateundefined
defaultValueDateundefined
onValueChange(date: Date) => void—
classNamestring—

When to use the calendar

Use the calendar for picking dates in a month grid. It has a sliding selection highlight, directional month transitions and a today marker.

  • Open the CLI tab on any preview above for the exact shadcn command. The source is copied into your project, so you can edit it like any other file.

Suggested components