ortaui
  1. Components
  2. Date and time

Calendar

react-day-picker with rounded-xl day cells. Selected is primary, a range band is accent, today carries a dot and an accent fill, navigation is pill ghost buttons.

Installation#

npx shadcn add @ortaui/calendar

Examples#

Single#

November 2026

Range, two months#

November 2026
December 2026
November 2026

Outside days hidden, week numbers#

November 2026
45
46
47
48
49

API reference#

PropTypeDefaultDescription
mode"single" | "multiple" | "range"-Selection model; pair with selected / onSelect.
captionLayout"label" | "dropdown" | "dropdown-months" | "dropdown-years""label"Month caption as text or native dropdowns.
numberOfMonthsnumber1Months side by side (stacked under md).
buttonVariantButtonProps['variant']"ghost"Variant of the month navigation buttons.
disabled / hiddenMatcher | Matcher[]-react-day-picker matchers for days to disable or hide.
classNamestring-Merged with the component classes via cn().