Function: DayButton()

May 8, 2026 ยท View on GitHub

DayButton(props): Element

Defined in: packages/react-day-picker/src/components/DayButton.tsx:12

Render a button for a specific day in the calendar.

Parameters

ParameterType
props{ day: CalendarDay; modifiers: Modifiers; } & ButtonHTMLAttributes<HTMLButtonElement>

Returns

Element

See

https://daypicker.dev/guides/custom-components

Contents

  1. 1Parameters
  2. 2Returns
  3. 3See