Calendar
A month grid for picking a day or a range. Date Picker puts this behind a trigger; use the calendar bare when it should stay on the page.
tsx
import { Calendar } from "@pestoui/core"Single date
mode="single" with selected and onSelect is a controlled date. Arrow keys move day by day; Page Up and Page Down move by month.
Range
mode="range" selects a start and an end; the days between take the tinted fill. Left uncontrolled here, so the calendar keeps the selection itself.
Month and year dropdowns
captionLayout="dropdown" swaps the caption for month and year selects — the right choice for a birth date or anything far from today. startMonth and endMonth bound the list.
Props
Pesto UI · 117 documented components