API Reference

DayCellTemplate

component

Renders one <td role="gridcell"> per day. Exposes data-attributes for selected, today, disabled, outside-month, focused, range-start, range-end, range-boundary, in-range, and date. When used inside a WeekTemplate, iterates over that week's days. An explicit date prop renders a single cell.

Defined in package/src/day-cell.tsx:351

PropTypeDefaultDescription
datePlainDateExplicit date to render. When omitted, iterates over the current week's days.