Prepared Docs

Prepared Docs

⌘K

    Loading navigation…

User

  1. Calendar
  2. Calendar Utilities
  3. API and Development

Calendar Utilities

API and Development

View Source
Submit Issue

Lower-level building blocks exported from @prepared911/ui-calendar:

  • SelectMonth: Select for month with min/max date constraints.
  • SelectYear: Select for year with bounds.
  • MonthCaption: Custom react-day-picker month caption wiring month/year selectors for DatePicker layouts.

Use these when customizing DayPicker composition or building alternate chrome while keeping the same bounds logic as the main pickers.

Import

When to use

Prefer the bundled DatePicker month/year behavior first. Reach for SelectMonth, SelectYear, and MonthCaption when product requires a bespoke caption row or non-default ordering while staying on react-day-picker.

Previous

Calendar Utilities / Usage

Next

Calendar Utilities / Accessibility

On this page

Import
When to use