Date range picker

Pick a start and an end date on one calendar. Days between are tinted and previewed as you move. Full keyboard support, 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.

DateRangePicker3D props

PropTypeDefaultDescription
valueDateRangeSelected range. Set it to control the component.
defaultValueDateRangeEMPTYStarting range when uncontrolled.
onValueChange(range: DateRange) => voidCalled whenever the range changes.
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