Date picker

A calendar where a range fills outwards from the date chosen first.

0:00 / 0:01

Customize

12
19

Installation

pnpm odori add component date-picker

Edit the source in videos/components/date-picker/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Interface
Recommended duration
180 frames · 6s
Minimum duration
75 frames · 2.5s
Entrance
14 frames
Exit
10 frames
Reduced motion
range shown filled, no reach
Requires
sans font
Content limits
month ≤ 24, label ≤ 28

Props

PropTypeDefaultRequired
monthThe month heading.string"August 2026"—
startsOnWeekday of the first, 0 for Monday.number5—
daysHow many days the month has.number31—
picksThe day that gets picked.number12—
throughA second day, for a range. Zero for a single date.number19—
labelThe label above the calendar.string"Release window"—
openAtnumber20—

Related components

All components